MySQL Issues On Stoli

Status
Not open for further replies.

unpixelatedgamers

New Member
Messages
674
Reaction score
0
Points
0
Well, that was easy. All I had to do was find the settings file for Wordpress and change one little string. :biggrin:

I probably should have done this a while ago, but I'm back online now anyway!
 

VinceSov

New Member
Messages
16
Reaction score
0
Points
0
I keep getting the error:

"Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)".

Can someone help? I've changed the script to have "mysql.x10hosting.com" as the host and put "stoli.x10hosting.com" onto the list of remote servers on Cpanel.

I should add that the whole script is mine, it's not any installation.
 
Last edited:

Jesse

Active Member
Messages
1,360
Reaction score
0
Points
36
Nice Corey, That's a One Step to Success! Hehe :)
 

glen290

Member
Messages
44
Reaction score
0
Points
6
Im getting the following error.

General Error
SQL ERROR [ mysqli ]

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [2002]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.

Any suggestions ?
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
I keep getting the error:

"Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)".

Can someone help? I've changed the script to have "mysql.x10hosting.com" as the host and put "stoli.x10hosting.com" onto the list of remote servers on Cpanel.

I should add that the whole script is mine, it's not any installation.

You have an error with your script. If you look into your database class you'll see the line I commented out (104) and the line below it that works.

Im getting the following error.

General Error
SQL ERROR [ mysqli ]

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) [2002]

An sql error occurred while fetching this page. Please contact an administrator if this problem persists.

Any suggestions ?

You did not update your host to mysql.x10hosting.com, it should work now.
 

nunoabc

New Member
Messages
151
Reaction score
0
Points
0
corey, i'm no good changing scripts, in fact i don't know how or what did you did to glen290 scripts, but i'd like if you've done the same for me...
 

satheesh

New Member
Messages
883
Reaction score
0
Points
0
When i add new host "stoli.x10hosting.com" to Remote Database Access Hosts it say successfully added.
But it didn't display stoli.x10hosting.com in Remote Host.
 

Jayecifer

New Member
Messages
10
Reaction score
0
Points
0
Same. My control panel also shows that I have no mySQL databases anymore... :(
 
Last edited:

munim

New Member
Messages
76
Reaction score
0
Points
0
hmm... is this only for stoli ad enhanced accounts?
i am on cossacks ad free server and mysql is down for me too.
Edit:
never mind.. i made the changes and the database connection is working now. thanks.
 
Last edited:

salukigirl

New Member
Messages
78
Reaction score
0
Points
0
I've done all that and it worked but I get this error when trying to go to myphpadmin

#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
 

bjkroll

New Member
Messages
3
Reaction score
0
Points
0
Is phpMyAdmin unusably slow for anyone else? It takes 5min for the first page to even load, let alone trying to actually get anything done...
 

abc-and

New Member
Messages
8
Reaction score
0
Points
0
Is phpMyAdmin unusably slow for anyone else? It takes 5min for the first page to even load, let alone trying to actually get anything done...
Yes, it is. I have the same problem working with MySQL after migration on Stoli.:sad:
 

famikon

New Member
Messages
6
Reaction score
0
Points
0
i got all these probs so dose any one know when the sevies are going to be stable
 
Status
Not open for further replies.
Top