DB/MYSQL
MYSQL 실행 및 중지
d(ㅡㅅㅡ)b♪
2011. 8. 31. 10:30
반응형
1.시작: - rpm # /etc/rc.d/init.d/mysqld start
source #/usr/local/mysql/bin/mysqld_safe &
#/usr/local/mysql/share/mysql/mysql.server start
2.정지: - rpm # /etc/rc.d/init.d/mysqld stop
source #pkill mysqld
#/usr/local/mysql/share/mysql/mysql.server stop
#mysqladmin -u root -p shutdown
3.접속:
[root@ns ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 163 to server version: 4.1.12
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
source #/usr/local/mysql/bin/mysqld_safe &
#/usr/local/mysql/share/mysql/mysql.server start
2.정지: - rpm # /etc/rc.d/init.d/mysqld stop
source #pkill mysqld
#/usr/local/mysql/share/mysql/mysql.server stop
#mysqladmin -u root -p shutdown
3.접속:
[root@ns ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 163 to server version: 4.1.12
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
반응형