Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am creating a web page for my WoW server. If I start a WAMP and then open the web page, there is an error shown in the upper left corner:

Error: Unable to connect to MySQL server. MySQL reported: Access denied for user 'root'@'localhost' (using password: YES).
Notice: Undefined index: off in C:\wamp\www\index.php on line 569

I tried to run MySQL, but the problem is that it won't start because it tries to run from the same port as the WAMP (both are port 3306).

What can I do to get MySQL and the WAMP started on the same computer?

share|improve this question

closed as not a real question by Randolph West, 8088, Renan, Diogo, KronoS Aug 13 '12 at 16:11

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Hi Daniel, welcome to SuperUser. Please read the FAQ to learn how to edit your question appropriately, as it is not understandable in its current form. –  user3463 Aug 12 '12 at 9:29
1  
If you have already installed WAMP, there is no need to run MySQL separately - it is already included in WAMP. The error message clearly states that your password is incorrect, which means that MySQL is already running. So, instead of starting MySQL, you access it through a client such as phpmyadmin and set the root password. –  Prahlad Yeri Aug 12 '12 at 20:46
    
@PrahladYeri - You should make that comment the answer. –  Nifle Aug 13 '12 at 5:41
    
Thanks Nifle. I've done the same. –  Prahlad Yeri Aug 13 '12 at 5:48
add comment

1 Answer

As per my comment, If you have already installed WAMP, there is no need to run MySQL separately - it is already included in WAMP - The M stands for MySQL.

The error message clearly states that your password is incorrect, which means that MySQL is already running. So, instead of starting MySQL, you access it through a client such as phpmyadmin and set the root password. MySQL Workbench is another client which is Windows based.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.