Re: connection to mysql db
| From: | dpgirago at mdanderson dot org | Date: | Tue, 11 Oct 2005 14:16:40 +0000 |
| Subject: | Re: connection to mysql db | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-40489@lists.php.net to get a copy of this message | ||
You need to use the username and password of the database, not the OS, to
connect to MySQL. You would also need to set up an account for the
username/host name of the remote computer within MySQL for this to work
successfully. If this is a new installation of MySQL, try leaving username
and password blank as I think there is a default account with open
credentials. In any event, have a look at the user table in the mysql
database for the accounts that have been already set up.
David
|---------+------------------------------------------>
| | |
| | |
| | blackwater dev|
| | <blackwaterdev@gmail.com>|
| | |
| | |
| | |
| | 10/11/2005 08:51 AM|
| | |
| | |
| | |
|---------+------------------------------------------>
>>-----------------------------------------------------------------------------------------------------------------|
|
|
|
|
|
|
|To:
|
| php-db@lists.php.net
|
|cc:
|
|
|
|
|
|
|
|
|
|
|
|Subject:
|
| [PHP-DB] connection to mysql db
|
|
|
>>-----------------------------------------------------------------------------------------------------------------|
I have mysql running on a linux box at my house. I want to connect to
that box from another machine on my home network but get access
errors. When connecting, I use the machines internal ip and the root
name and password of the linux box but I get access denied errors.
How can I connect?
Thanks!
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php