Solved

PhPMyAdmin

Posted on 2015-01-17
8
114 Views
Last Modified: 2015-01-24
I have phpmyadmin installed on my server.  However, it won't connect to the MySQL Server.  It is a virtual machine on the cloud running windows 2008 Server.  How do I make sure the the MySQL Server is on and running?  If it is not on, how do I turn it on?
0
Comment
Question by:rgranlund
  • 4
  • 3
8 Comments
 
LVL 18

Accepted Solution

by:
SimonAdept earned 500 total points
Comment Utility
See http://dev.mysql.com/doc/mysql-windows-excerpt/5.1/en/windows-testing.html
and http://dev.mysql.com/doc/refman/5.1/en/connecting.html in the MySQL documentation for Windows. The first of those links shows how to check that MySQL is running.

phpmyadmin also needs to be configured to connect to MySQL.

First check if you can connect to MySQL from the command line:
Something like (the path may be different for you):
C:\MYSQL\Bin>mysql -u root -p

You should get a password prompt.
0
 
LVL 7

Author Comment

by:rgranlund
Comment Utility
When I type in C:\MYSQL\Bin>mysql -u root -p at the command line it says access denied
0
 
LVL 18

Expert Comment

by:SimonAdept
Comment Utility
OK, that means that user root doesn't exist in the grants table... but that mysql IS running.

If I issue that command with a non-existent user I get this error msg:
"ERROR 1045 (28000): Access denied for user 'odbc'@'localhost' (using password: YES)"

I don't know how your MySQL was set up. You may have
mysql
or
odbc
as the username

Try those or look for documentation from the person who initially installed mysql.

Failing that I can probably point you to some links to reset the permissions.
0
 
LVL 7

Author Comment

by:rgranlund
Comment Utility
When I type in "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqlshow"
I get Can't connect tp MySQL Server on 'localhost' <10061>

Does that mean anything?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 18

Expert Comment

by:SimonAdept
Comment Utility
Is this a new install of MySQL?
If so, try
C:\MYSQL\Bin>mysql -u root
(without the -p)

MySQL initially installs with no security so that may work.

Apologies, but I don't think I'll be able to help you further on this. I'm running it on OS X. If it wasn't you that installed MySQL, I can only suggest that you refer to the person/team that installed it and ask for help, though another expert may be able to provide better assistance.
0
 
LVL 7

Author Comment

by:rgranlund
Comment Utility
Thanks Simon, I'm on the correct path now!
0
 
LVL 18

Expert Comment

by:SimonAdept
Comment Utility
Good to hear that!
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
If MySQL is running, you will see either 'mysqld.exe' or 'mysqld-nt.exe' listed in Task Manager under Processes.
0

Featured Post

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now