mysql登不上
我装完Mysql,进MySQL Command Line Client刚输入密码一回车就出现Connection error 2013: Lost connection to MySQL server during query。闪一下就没了。这应该是错误日志:
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
100309 16:28:43 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
100309 16:28:43 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 10 MB
InnoDB: Database physically writes the file full: wait...
100309 16:28:44 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
100309 16:28:44 InnoDB: Started; log sequence number 0 0
100309 16:28:44 [Note] C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt: ready for connections.
Version: '5.0.22-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
很头疼,装了几次都这样。有什么好办法?不懂,帮顶吧!是不是你以前没卸干净呀!
百度一下 好像需要改 连接超时的参数。。
去其他数据库/MySql区问问看。
lost connection以后,服务是
相关问答:
编译器:C-Free4
mysql 单独安装的,现在为apache+php+mysql可以使用。
最近在练习c,c++;想用c,c++连接下我的mysql,好多地方多说mysql.h找不到。而且我mysql没有所谓的include文件夹啊。
忘高手指点一� ......
我是用mysql自带的C API
if(mysql_real_connect(&mysql,"125.0.0.108","root","root","home",3306,NULL,0))
{
AfxMessageBox("数据库连接失败") ......
我的mysql怎么没有办法写入中文数据?只要是数据写入数据库时 就会变成三个问号 ?请教高人!!
linux? 怎么写入的
在mysql中执行 show variables like 'character%'贴结果出来。
在安装MYSLQ时将数据库的字� ......
String SQL="insert into 学生信息表 values(StudentNumber,StudentName,StudentAge)";其中StudentNumber,StudentName,StudentAge都是变量。这样写不对……到底该咋写啊
万分感谢!
String SQL=&q ......
原帖请看
http://topic.csdn.net/u/20100115/09/98c6ac75-d6fe-4b6c-90dc-336a738a0c0f.html?14601
总结下就是
apache php mysql 我全部都用的是gb2312,有什么办法可以不用每次mysql_query('SET character_set_r ......