For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > October 2005 > Re: [PHP-DB] connection to mysql db









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] connection to mysql db
dpgirago@mdanderson.org

2005-10-11, 6:56 pm


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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com