newbie question - no account & password for mysql

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
dakl
Forum Newbie
Posts: 2
Joined: Sat Jun 08, 2002 9:50 am

newbie question - no account & password for mysql

Post by dakl »

i got a php space, and want to try out mysql on the server. but i found there is no account and password for the mysql. and when i use phpmyadmin to connect to it, there is no database there, and the creat database option is not come up.....

i'm new to php and mysql, can anybody help? thanks a lot!!!

here is some info i got by running the phpinfo() function:
----------------------------------------------------------

MySQL Support || enabled
Active Persistent Links || 0
Active Links || 0
Client API version || 3.23.41
MYSQL_MODULE_TYPE || none
MYSQL_SOCKET || /var/lib/mysql/mysql.sock
MYSQL_INCLUDE ||
MYSQL_LIBS ||

Directive || Local Value || Master Value
mysql.allow_persistent || On || On
mysql.default_host || no value || no value
mysql.default_password|| no value || no value
mysql.default_port || no value || no value
mysql.default_socket || no value || no value
mysql.default_user || no value || no value
mysql.max_links || Unlimited || Unlimited
mysql.max_persistent || Unlimited || Unlimited
----------------------------------------------------------------
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Have you asked your host to create a database for you or to set up a username and password for you to create your own?

Mac
dakl
Forum Newbie
Posts: 2
Joined: Sat Jun 08, 2002 9:50 am

Post by dakl »

twigletmac wrote:Have you asked your host to create a database for you or to set up a username and password for you to create your own?

Mac
That's what I thinking about. Those guy won't reply your email if you ask some newbie questions. :( So I want to get some ideas from you guys see if it is their problem. Now I think it is.
Thanks Mac. I will ask them. :wink:
User avatar
fatal
Forum Contributor
Posts: 118
Joined: Sat Apr 20, 2002 10:47 am
Location: East Coast

Post by fatal »

try running the query for create database
Post Reply