当前位置:Gxlcms > mysql > UbuntuServer11.10安装MySQL简单配置及图形化工具

UbuntuServer11.10安装MySQL简单配置及图形化工具

时间:2021-07-01 10:21:17 帮助过:40人阅读

Ubuntu Server 11.10 安装 MySQL简单配置及图形化工具

gt@gt-Dell:~$ mysql -h devserver -u dev -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 39
Server version: 5.1.58-1ubuntu1 (Ubuntu)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>
mysql> USE devcom
\Database changed
mysql> CREATE TABLE devuser (dev_id int, dev_name char(20));
mysql> INSERT INTO devuser (dev_id,dev_name) VALUES(1001,'Pan Black');
Query OK, 1 row affected (0.00 sec)

mysql> SELECT * FROM DEVUSER;
ERROR 1146 (42S02): Table 'devcom.DEVUSER' doesn't exist
mysql> SELECT * FROM devuser;
+--------+-----------+
| dev_id | dev_name |
+--------+-----------+
| 1001 | Pan Black |
+--------+-----------+
1 row in set (0.00 sec)

mysql>

人气教程排行