To use the mysql client type:
% virtual /usr/local/mysql/bin/mysql -u root
This command will start the MySQL
client as the root user. You can add more users by following
the directions in the MySQL
Reference Manual:
The MySQL client is designed to be able to report errors in numerous languages. While this does
not affect the way you use MySQL, having the error messages in your native language could make
understanding the errors easier. For more information, see the following:
To make starting MySQL easier, you can create a file with all your start-up options instead of
having to type in all the different flags at the command prompt. To do this, create a file in your
~/etc/ directory called my.cnf. The contents of the file would look like this if you
wanted MySQL to report error messages in Japanese:
[mysqld]
language = japanese
default-character-set = ujis
|