【www.gdgbn.com--mysql教程】

mysql教程 administrator 弹出"could not find settings"错误

解决:就是将注册表中的hkey_local_machinesystemcurrentcontrolsetservicesmysqlimagepath
值由c:mysqlbinmysqld.exe mysql 改成"c:mysqlbinmysqld.exe" --defaults-file="c:windowsmy.ini" mysql

问题:php教程5 fatal error: call to undefined function mysql_connect() in
解决:我过早地将php.ini从php目录下复制到系统windows目录下,导致了我改了phpphp.ini,而没有改windowsphp.ini的文件,只需要将php.ini再从php文件夹复制到windows目录下

 

问题二


使用mysql administrator 登录,报错: either the server service or the configuration file could not be found.startup variable and service section are there for disabled.

使用root 登录进去以后看到管理功能都是禁止掉的,提示: this section is only avaliable when connected to localhost solution: 点开mysql administrator时候,不要点击登录,按住ctrl 键可以看到 最右边的cancel键变成skip 字样。 点击,进入安全配置模式 ,这里可以启动服务或者创建服务。这里可以gui配置my.ini的参数,可以选择my.ini相对应的参数,注意:如果有红色参数表示错误,应该调整。 如果修改后重启mysql administrator还是不行的话,需要重启系统。


mysql administrator错误,1045


root用户在安装的时候要输入一个密码,你这里的密码123456和安装时设置的不一样

telnet 127.0.0.1 3306
如果不能连接,检查mysql服务是不是启动,或者是防火墙不允许访问3306端口。

本文来源:http://www.gdgbn.com/shujuku/28441/