Jump to content

Cannot find Server


abdfahim

Recommended Posts

Hi,

 

I have installed Apache 2.2.11 with php 5.3.1 and mysql 5.0.89.

Apache and php works fine.

Mysql also installed and configured succesfully and also MySQL service is running (checked in the services window).

Still when I am trying to connect to MySQL Server (by Phpmyadmin or by simple php coding). it just hang forever.

There is no mistake in coding for sure because the same coding executes successfully in my laptop, but start causing problem when I load that in the new server.

Anybody can help please?

Link to comment
https://forums.phpfreaks.com/topic/186680-cannot-find-server/
Share on other sites

But phpinfo shows mysql active

 

Copy/paste the lines from the phpinfo output that shows what you see. I suspect you are seeing the mysqlnd driver and not the actual mysql extension.

 

Are you doing this on a system with error_reporting set to E_ALL and display_errors set to ON in your master php.ini (and confirm that the settings are actually those values using a phpinfo() statement in case the php.ini that you are changing is not the one that php is using) so that php WOULD display any errors related to the problem?

 

WHAT is your actual code that is not working? Perhaps it IS doing something out of the ordinary that was required to get it to work on one system but is not the typical/expected method and needs to be adjusted to get it to work on newly installed system that was installed in the expected manner.

Link to comment
https://forums.phpfreaks.com/topic/186680-cannot-find-server/#findComment-985953
Share on other sites

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.