Re: connection to mysql db

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>|
|         |                                          |
|         |                                          |
|         |                                          |
|         |                       10/11/2005 08:51 AM|
|         |                                          |
|         |                                          |
|         |                                          |
|---------+------------------------------------------>
  >-----------------------------------------------------------------------------------------------------------------|
  |                                                                                                                 |
  |                                                                                                                 |
  |                                                                                                                 |
  |To:                                                                                                              |
  |      php-db@xxxxxxxxxxxxx                                                                                       |
  |cc:                                                                                                              |
  |                                                                                                                 |
  |                                                                                                                 |
  |                                                                                                                 |
  |                                                                                                                 |
  |                                                                                                                 |
  |Subject:                                                                                                         |
  |       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

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux