LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 743|回复: 2

debian下安装mysql遇到得问题

[复制链接]
发表于 2006-12-21 11:16:06 | 显示全部楼层 |阅读模式
我是通过apt-get安装的  过程如下:

chaosdb:~# apt-get install mysql-server mysql-client
Reading Package Lists... Done
Building Dependency Tree... Done
mysql-server is already the newest version.
mysql-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 50 not upgraded.

chaosdb:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5 to server version: 4.0.24_Debian-10sarge2-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> CREATE DATABASE mytest
    -> USE mytest
    -> quit
    -> quit
    -> exit
    -> exit
    ->
[1]+  Stopped                 mysql -u root -p


从最下面进入mysql可以看出 我创建 mytest表创建不成功 退出也没有成功?
请问到底是真么回事啊?

我参照得是这篇文章做得 http://www.lslnet.com/linux/docs/linux-3893.htm

请大侠门给给建议啊
 楼主| 发表于 2006-12-21 11:54:29 | 显示全部楼层
已经找到原因 mysql语句缺少分号 结束
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-21 11:54:29 | 显示全部楼层
已经找到原因 mysql语句缺少分号 结束
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表