Jump to content

mysql_connect(): Can't connect to MySQL server on 'localhost' (10048)


geiri

Recommended Posts

after a server chras I get a lot of thes errors

mysql_connect(): Can't connect to MySQL server on 'localhost' (10048)

 

It is enough  to hit reload and the page shows.

The service is runing and everthing looks ok..

 

I have tried to uninstall the MYSQL server and reinstall it but no luck.

 

I have allso gone throug the MY.cnf file and other files.

 

Server is windows 2003

Apache, mysql 4.0.25

 

I could use some help ;)

 

 

 

I did read your sticky on php5

 

I was runing php 3.7

 

So I upgraded to php 5.2.4 altered the config and restarted the server now.

The server restarted fine.

But now I get this error.

500 Internal Server Error

 

I am new to this and my understanding is not deep.

Englis is not my lang so I am sorry if I am missing somthing  :-\

I removed Apache, mysql and php.

 

And installed again.

 

Apache 2.2.4

PHP 5.2.4

MySQL 5.0.45

 

Server works fine but still some times I get an error like connection to db can not be made?

 

Database error

The database has encountered a problem.

 

It is allways enoug to reload the page.

 

Can some one help find out what can be the problem please  ::)

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.