hai, can somebody help me, how to change root password for mysql in CPANEL? i tried to put my website online, but it send message :

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/akmajuco/public_html/_class/cms_class.php on line 9
Access denied for user 'root'@'localhost' (using password: YES)

i hope someone can help me.

Recommended Answers

Most hosts don't provide an option for this (and I don't think they will allow you to use root). I think you should use the username and password as provided by them. Also, you should be able to create new users in your cPanel, then you can create your own …

Jump to Post

All 2 Replies

Most hosts don't provide an option for this (and I don't think they will allow you to use root). I think you should use the username and password as provided by them. Also, you should be able to create new users in your cPanel, then you can create your own password.

haha, tq pritaes for the reply. i have solve it using your suggestion.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.