MySql command list

Some helpful commands for using MySql from command-line.

MySql command list

Reconnect to the server

\r database_name

Change database

\u database_name

Exit from the client

\q

Help

\h

Set the password

Syntax

mysql> SET PASSWORD FOR username@hostname=PASSWORD('new_password');


Example

mysql> SET PASSWORD FOR root@localhost=PASSWORD('012345');

Publication details

Category: MySQL

Published by: loryzz on date: 03.02.2008 18:06:47

Last edit by: loryzz on date: 26.06.2008 12:00:49

Statistics

Details  This article has been viewed 725 times.

Send to

add to digg add to reddit add to furl add to facebook add to delicious add to google add to stumbleupon add to technorati add to ask add to live

Ratings

  • Currently 0; ?>/ TOTALSTARS
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Details 0 user comments, 0 still waiting.

Leave a comment

All comments must be approved by site administrator.
Please write comments on topic. Spam will be never approved.


Confirmation code

Please take a look to image and insert character into the form field.