반응형
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>
반응형
'DB > MYSQL' 카테고리의 다른 글
현재시간 함수 (0) | 2011.09.28 |
---|---|
MYSQL에서 사용되어 지는 기본 명령어 문서 입니다. (0) | 2011.08.31 |
MYSQL 접속이 계속 끊어질때 (0) | 2011.08.31 |
MYSQL 관리 (0) | 2011.08.31 |
MYSQL 계정 추가 방법 (0) | 2011.08.31 |