[client]
#password = your_password
port = 3306
socket = /tmp/mysql.sock
default-character-set=gbk
port = 3306
socket = /tmp/mysql.sock
default-character-set=gbk
skip-locking
key_buffer = 16K
max_allowed_packet = 1M
table_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 64K
Service successfully installed.
MySQL5 服务正在启动 .
MySQL5 服务无法启动。
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| test |
+--------------------+
3 rows in set (0.02 sec)
Database changed
sql> show tables;
Empty set (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
Query OK, 1 row affected (0.02 sec)
Query OK, 1 row affected (0.00 sec)
Query OK, 1 row affected (0.00 sec)
+------+------+
| a | b |
+------+------+
| 1 | aaa |
| 2 | bbb |
| 3 | ccc |
+------+------+
3 rows in set (0.00 sec)
Query OK, 1 row affected (0.01 sec)
+------+------+
| a | b |
+------+------+
| 1 | aaa |
| 2 | bbb |
+------+------+
2 rows in set (0.00 sec)
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
+------+------+
| a | b |
+------+------+
| 1 | aaa |
| 2 | xxx |
+------+------+
2 rows in set (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
Empty set (0.00 sec)
Database changed
+---------------------------+
| Tables_in_mysql |
+---------------------------+
| columns_priv |
| db |
| func |
| help_category |
| help_keyword |
| help_relation |
| help_topic |
| host |
| proc |
| procs_priv |
| tables_priv |
| time_zone |
| time_zone_leap_second |
| time_zone_name |
| time_zone_transition |
| time_zone_transition_type |
| user |
+---------------------------+
17 rows in set (0.00 sec)
Query OK, 3 rows affected (0.00 sec)
Query OK, 0 rows affected (0.02 sec)
+------+
| User |
+------+
| root |
+------+
1 row in set (0.00 sec)
MySQL5 服务正在停止..
MySQL5 服务已成功停止。
D:\mysql-5.0.67-win32\bin>net start mysql5
MySQL5 服务正在启动 .
MySQL5 服务已经启动成功。
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.67-community MySQL Community Edition (GPL)
Query OK, 1 row affected (0.02 sec)
Database changed
Query OK, 0 rows affected (0.00 sec)
Bye
















