Re: Not bale to connect to MySQL with PHP [message #169645 is a reply to message #169642] |
Tue, 21 September 2010 12:49 |
Kim Andr Aker
Messages: 17 Registered: September 2010
Karma:
|
Junior Member |
|
|
På Tue, 21 Sep 2010 00:05:54 +0200, skrev MikeB <mpbrede(at)gmail(dot)com>:
> Denis McMahon wrote:
>> On 20/09/10 20:32, MikeB wrote:
>>> [snip]
>>
>> can you telnet to the mysql port on the server from a terminal session
>> on the server? eg telnet to the server, and then on the server "telnet
>> localhost 3306" (or whatever your mysql port is). What happens?
>
> I think this is just for the case where the two are on different
> servers, right?
Only the first step of the two. Since this is on your local computer, just
open up a command window and enter the command "telnet localhost 3306" -
and to repeat Denis' question: What happens when you do this?
If you still get an error (as in "connection refused"), then the MySQL
server software probably isn't running.
--
Kim André Akerø
- kimandre(at)NOSPAMbetadome(dot)com
(remove NOSPAM to contact me directly)
|
|
|