Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.