Maison  >  Article  >  base de données  >  Ubuntu Server 11.10 安装 MySQL简单配置及图形化工具

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

WBOY
WBOYoriginal
2016-06-07 17:12:131027parcourir

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>

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn