MySQL

Status
Not open for further replies.

DRWSVK

New Member
Messages
3
Reaction score
0
Points
0
My MySQL service is down for at least a week, but I can access it via cPanelX. How it's that?
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
It's not down. MySQL is being reported as offline by the server status scripts, but it's because the firewall rules have been changed to deny external access. MySQL is online though :).

-Luke.
 

DRWSVK

New Member
Messages
3
Reaction score
0
Points
0
I used localhost instead of server name and it's working. I remember it had to be changed from localhost to specific server in the past.
 
Last edited:

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
By using the usual mysql_connect() function, like this:

<?php
mysql_connect('localhost','<your mysql user >','<your mysql pass>');
...
?>

Edit: Okay. Is there anything else I can help you with?

-Luke.
 
Last edited:
Status
Not open for further replies.
Top