MySQL error?

Status
Not open for further replies.

unitmdz4

New Member
Messages
32
Reaction score
0
Points
0
I keep getting an error whenever I try to log into my site; crooklife.com

And I looked and from my lack of knowledge of this stuff I think its an MySQL error,
If needed I can post the error.

All help would be great! thanks.

 

unitmdz4

New Member
Messages
32
Reaction score
0
Points
0
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '10.10.96.130' (4) in /home/unitmdz4/public_html/mysql.php on line 3

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/unitmdz4/public_html/mysql.php on line 4

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/unitmdz4/public_html/authenticate.php on line 12
Can't connect to MySQL server on '10.10.96.130' (4)

I'm sure there's some stuff I should blank out for "protection" but I just need it fixed :p

thanks.
 

unitmdz4

New Member
Messages
32
Reaction score
0
Points
0
It's been a while a few months I'd know how to do this but I'm pulling nothing out, where do I do this? [I know in the cpanel]

easy instructions would be great >.<

[i cant wait till i have enough for a paying server!]
Edit:
like do I just change the IP to localhost?
 
Last edited:

Twinkie

Banned
Messages
1,389
Reaction score
12
Points
0
Go to file manager and find mysql.php, then click edit in the menubar with mysql.php selected and use this code:
PHP:
mysql_connect("localhost",username,password);
 
Last edited:

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
In the file manager, look for a file in public_html called mysql.php and edit it. I'm not sure if that is the right file though.
Edit: Yes.
 
Last edited:

unitmdz4

New Member
Messages
32
Reaction score
0
Points
0
thank you so much, you have NO idea how happy you have made me right now!!!!
 
Status
Not open for further replies.
Top