'DB/mysql'에 해당되는 글 1건

  1. 2016.03.06 [mysql] linux에서 mysql 접속.
posted by 빠담아빠다 2016. 3. 6. 01:42

[root@redmine2 views]# mysql -u root -p

Enter password: 

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 64

Server version: 5.1.73 Source distribution


Copyright (c) 2000, 2013, 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.


mysql> GRANT ALL PRIVILEGES ON *.* TO root@'192.168.200.143' IDENTIFIED BY 'imsi00' WITH GRANT OPTION;