Install MySQL2012/06/25 |
Install MySQL to configure Database Server. |
root@www:~#
aptitude -y install mysql-server-5.5 # set MySQL's root password 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 41 Server version: 5.5.22-0ubuntu1 (Ubuntu) Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. 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; # remove anonymous users mysql> delete from mysql.user where user=''; Query OK, 2 rows affected (0.00 sec) exit Bye |
Sponsored Link |
|