FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Not bale to connect to MySQL with PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Not bale to connect to MySQL with PHP [message #169649 is a reply to message #169645] Tue, 21 September 2010 14:47 Go to previous messageGo to previous message
MikeB is currently offline  MikeB
Messages: 65
Registered: September 2010
Karma:
Member
Kim André Akerø wrote:
> 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.
>
>

I tried it and it seems to connect to something. I get this:

telnet localhost 3306 and then:

> B
> 5.1.49-community-lo6IJyD%*☻L9wl8qR&cA[(

and a few seconds later I get:

> Connection to host lost.
>
> C:\Users\Mike>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Php Include bug in firefox
Next Topic: Feed RSS and accented and other special chars
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 17:29:15 GMT 2024

Total time taken to generate the page: 0.04935 seconds