Install MySQL2011/05/04 |
Install MySQL to configure Database Server. |
root@www:~# aptitude -y install mysql-server-5.1 # set MySQL's root password root@www:~# mysql -u root -p # connect to MySQL Enter password: # MySQL root password Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 40 Server version: 5.1.49-3 (Debian) Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. # show user info mysql> select user,host,password from mysql.user; 4 rows in set (0.00 sec) mysql> exit Bye |
Sponsored Link |
|