ERROR with MySQL on server Stoli

Status
Not open for further replies.

jjordan69

Member
Messages
224
Reaction score
2
Points
18
This test script has worked for a long time - but throws this error today

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'jjordan6_RHDtest'@'localhost' (using password: YES) in /home/jjordan6/public_html/test_mysql_stoli.php on line 34
Cannot connect to server - MySQL error ==>1045<== : ==>Access denied for user 'jjordan6_RHDtest'@'localhost' (using password: YES)<==


see ==> http://jjordan69.pcriot.com/test_mysql_stoli.php <==
 

jjordan69

Member
Messages
224
Reaction score
2
Points
18
Today new error

NOTE
got a connect to server then error out trying for database
MySQL error # was 1045 is now 1044
no change was made to script

==>
Will try to connect to database server [ localhost ] on x10's server Stoli

Connected to MySQL server successfully
Will try to connect to database
Cannot connect to database
MySQL error ==>1044<== : ==>Access denied for user 'jjordan6_RHDtest'@'localhost' to database 'jjordan6_RHDtest'<==

BTW can get info from table in database via cPanel/phpMyAdmin
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
1. Try deleting the user. Recreate with same password add to DB with ALL_PRIVILEGES. Sometimes the permission tables get corrupeted. (making sure that your script has the correct username and pw in it.)

2. While not recommended, you can use your cPanel username and password as DB user/pw (that is how PHPMyAdmin connects to the server) as a fall back.
 

jjordan69

Member
Messages
224
Reaction score
2
Points
18
deleted user

then try to add user here
cpanel_mysql_add_user_error02.png


Then receive this

===========================
when trying to inport a SQL file via phpMyAdmin

receive this

too many errors to use my account
 

GtoXic

x10 Support
Messages
636
Reaction score
17
Points
0
it seems there's issues all over stoli mySQL at the minute. Staff have been notified.
 
Status
Not open for further replies.
Top