Jump to content
MakeWebGames

How to fix "Cannot Connect to Socket mysql.lib" Errors!


Recommended Posts

If you ever get an error including the message

"Error: Cannot connect to Socket through '/mysql/socket/mysql.lib' on mysql.php on line 3"

It's no PHP error, It's a MySQL breakdown error.

To resolve this error:

1. Login into your CPanel/DirectAdmin/Plesk/Wamp Server (CPanel = 2082) (Plesk = 6505)

2. Click MySQL Databases/SQL Manager

3. Find your database name and click 'Repair'.

If it cannot find the error through there, Then it obviously is a server messup.

Reboot from the main server socket would easy fix this..

If you are your own host, (Dedicated Only) You can reboot it.

Reseller's are created from Dedicated so they are not acceptable as a rebooter.

If you require any assistance PM me,

Nick.

Link to comment
Share on other sites

Re: How to fix "Cannot Connect to Socket mysql.lib" Errors!

But if it comes around..It's here.

;) I use to have it with my windows webserver, but changed to linux..

--Plus if you ever get a choice of picking Windows or Linux..Be sure to pick Linux..More speedy and reliable!

Did you know?

CPanel X is run by linux, thats why you get the most speed at a high range. It may not be "the fastest" but trust me, It could be a lot more slower!

Link to comment
Share on other sites

Re: How to fix "Cannot Connect to Socket mysql.lib" Errors!

i use both types of servers, windows servers are not good with web sites unless using .Net technology. instead i use windows servers to host private gaming servers, teamspeak, shoutcast, ect.ect..., and linux for websites

Link to comment
Share on other sites

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.   Paste as plain text instead

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