can't access mysql database

Status
Not open for further replies.

glbl483118

New Member
Messages
3
Reaction score
0
Points
0
Hi guys:

Okay i am trying but unsuccessfully. I can't connect to my database. I have created the database and since phpMyAdmin keeps telling me incorrect username/password i wrote a php script to create tables in database but that is giving me an error as well:
Code:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user my_user_name@'10.33.248.79' (using password: YES) in /home/my_user_name/public_html/createtable.php on line 2
Could not connect: Access denied for user 'my_user_name'@'10.33.248.79' (using password: YES)
 

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
Try to create the database from "Mysql Databases" in your cpanel
then create Database user

And finally associate the database user with the database with all the permissions.

Use those information in your script to access the database.
 

glbl483118

New Member
Messages
3
Reaction score
0
Points
0
I had already done that but now i see anna posted a sticky saying starka is having trouble with mysql
 
Status
Not open for further replies.
Top