Hi,

Genenally you can use 'localhost' as the hostname username 'root' and the
password is blank.
I beleive this is a default user when mysql is installed.

The details about how to connect are in the database 'mysql' and the
table 'user'. You should probably add a new user specifically for your php
scripts to this table.

NOTE: If you do add a new user you will need to restart mysql before it can
be accessed via the new user.

Hope that helps.

> Hi, can anyone help me with this problem.
> I'm trying to connect to a MySQL database on my computer, I don't have
> a hostname for it, so I just insert the IP, something like this.
>
> ...
> mysql_cos?
> Thanks.
> -Chris




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to