I am trying out MySQL (Windows 8), with the workbench (gui) installed as well.
I am still in the installation / configuration process. I would like to create a new
That's how I install mysqld
:
"e:\denwer\usr\local\mysql-1-5.5\my.ini" --install "mysqld" --defaults-file="e:\denwer\usr\local\mysql-5.5\my.ini"
Also I ran command prompt as administrator.
I have the same Problem. I started the Command Prompt in administrator mode and then went to C:> "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld"
and then just Enter. And it works fine.
Second way: While installing the mysql workbench it ask for username and password. By default username is root so if you have set password and still remember it then start MySQL Command Line Client and enter the password and then start the workbench. It will work fine.
Hope this may help you.
Type cmd in start and right click and Run as administrator,
then paste the below text in your command prompt,
"C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin\mysqld" --install
If you don't run cmd as Administrator, you'll see Install/Remove of service denied.
,
So run the elevated command prompt(Start->cmd->Run as Administrator) to see the Service Successfully installed
message.
Note: This is even if you have logged in as administrator in windows 7/8.
If u want to uninstall the service do the following, copy paste the following in command prompt(again elevated command prompt) run this,
sc delete MySQL
Here MySQL
in the command is the service name mysql creates by default in Windows PC. Make sure you see the service is installed in the Services List(Task Manager -> Services Tab -> Check the Mysql service Name column).
Hans, first of all, the MySQL installer should install the new server as service already. There's no need for you to do this manually. Look in your services list if you already see the service there. Did you get an error message in the MySQL Installer when it came to server/service installation?
Another point is that the server cannot start up as you can see in the log output. Something is seriously wrong with the InnoDB storage. Did you change the configuration somehow? Keep in mind that MySQL data must not be written in the application folder, but in the application data path. By default the MySQL Installer should also take care of this.
And finally, if you start MySQL Workbench with no connections/server instances it will scan the services to find existing MySQL servers and auto create connections and instances for them.