| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Thimble Smith | Date: | October 6 1999 12:26am |
| Subject: | Re: DBI:mysql Can't connect to local MySQL server | ||
| View as plain text | |||
At 17:10, 19991005, Gregory McCann wrote: >use DBI; >$dbh = DBI->connect('DBI:mysql:mydatabase', 'web_user', 'password'); > >and I get the message... >DBI->connect failed: Can't connect to local MySQL server... Gregory, it should tell you more than that. What's the "..." in that error message? For example, if I use the wrong password, I get this error message: can't connect to database: Access denied for user: 'tim@localhost' (Using password: YES) at /my/script/name line 19 If you really don't get more than that in the error message, what does the error log say? Tim
| Thread | ||
|---|---|---|
| • PHP to MySQL | Shawn Blazier | 5 Oct |
| • Re: PHP to MySQL | Junster | 5 Oct |
| • DBI:mysql Can't connect to local MySQL server | Gregory McCann | 6 Oct |
| • Re: DBI:mysql Can't connect to local MySQL server | Thimble Smith | 6 Oct |
| • Re: DBI:mysql Can't connect to local MySQL server | Gregory McCann | 6 Oct |
| • Re: DBI:mysql Can't connect to local MySQL server | Thimble Smith | 6 Oct |
| • Re: PHP to MySQL | Martin Ramsch | 7 Oct |
| • Re: PHP to MySQL | Paul DuBois | 7 Oct |
