Free tutorials for Java, Eclipse and Web programming



Follow me on twitter

3.  Connecting to MySQL

Once MySQL is installed and running you can connect to your database and perform commands in MySQL.

MySQL offers the option to connect to the database via the command line. Under Window, select Start -> Programs -> MySQL -> "your version" ->MySQL Command Line Client. This will a console and ask you for the password of the DB admin.

Under Unix / Linux you can use the following command:

			
mysql db_name -u user -pmypassword