

We will use MySQL Workbench in this example. It is a command-line tool and not ideal for use with the IDE. Note: mysqladmin is the MySQL admin tool found in the bin folder of the MySQL installation directory. In the Path/URL to admin tool field, type or browse to the location of your MySQL Administration application such as the MySQL Admin Tool, PhpMyAdmin, or other web-based administration tools. In the "MySQL Server Properties" dialog select the "Admin Properties" tabĮnter the following in the textboxes specified:

Database: mysql ( mysql is the default or enter your database name).Connector Name: MYSQL (Connector/J Driver).If i right click and select "start" or "connect" i get the message in taskbar -įollow these steps using the Services Tab: "MySQL Server at localhost:3306 (disconnected)" Path to stop command:C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqladmin.exe Path to start command:C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe Now when i register it in Netbeans Server Host Name:localhostĪnd Admin Properties: Path to admin tool: C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqladmin.exe

I have even created database from console. My Database is working fine on the console - tried command mysqladmin -u root -p pingĪnd it says mysql id is alive. I am trying to connect MySQL database in Netbeans and stuck at the very first step- connecting the database.
