易截截图软件、单文件、免安装、纯绿色、仅160KB

MySQL: Connect MySQL GUI tools to WAMP 2.0

Connect MySQL GUI tools to WAMP 2.0 Posted by: Vladislav Sadykov () Date: January 24, 2009 09:31AM Hay, I have a problem with MySQL database. I have installed WAMP 2.0 server on my Windows machine and now I would like to connect it with MySQL GUI tools 5. The problem is that at the startup of MySQL administrator application I get this message: "Either the server service or the configuration file could not be found. Startup variables and service section are therefore disabled." I have tried to install the MySQL GUI tools to the "C:\wamp\bin\mysql" directory but I get still the same message. Maybe I need to modify some of the files to connect MySQL GUI tools to MySQL server but I don't know which one. Can some one help me with this. Re: Connect MySQL GUI tools to WAMP 2.0 Posted by: Ceasar Capuno () Date: January 29, 2009 11:47AM from your MySQL Administrator Authentication window hold on the "ctrl" key to change the cancel button to "skip". Under Service Control Menu select the configure service tab and you'll notice that the directory of your config file is with red font, it means that the config file were not found. Since you are using wamp, you should use WAMP's config file instead of my.cnf and you can find it inside your wamp folder named "wampmanager.conf". Upon correcting the config file directory you should start your wamp server and try to reconnect using your MySQL Administrator. I hope this helps you. Re: Connect MySQL GUI tools to WAMP 2.0 Posted by: james bond () Date: February 19, 2009 01:35AM Ceasar, you make my day. Your suggestion works perfectly Del.icio.us : mysql


相关文档:

数据库基础:MySQL 添加用户的两种方法

 
有2个不同的方法增加用户:通过使用GRANT语句或通过直接操作MySQL授权表。比较好的方法是使用GRANT语句,因为他们是更简明并且好像错误少些。
 
下面的例子显示出如何使用MySQL客户安装新用户。这些例子假定权限已缺省被安装。这意味
着为了改变,你必须在MySQL正在运行同一台机器上,你必须作为MySQL
ro ......

linux服务器用lighttpd+mysql5+php5+SupeSite/X

一、安装系统环境
1、系统:centos5
2、测试在vm5.5
准备软件
lighttpd-1.4.18
下载地址
mysql-5.0.41
part1下载地址
part2下载地址
part3下载地址
php-5.2.3
下载地址
SupeSite/X-Space
part1下载地址
part2下载地址
part3下载地址
discuz
下载地址
二、搭建web服务器安装过程
1、mysql5安装
$ tar zx ......

通过show status 来优化MySQL数据库

 
2009年10月30日 星期五 22:53
1, 查看MySQL
服务器配置信息
mysql> show variables;
mysql> show variables;
2, 查看MySQL服务器运行的各种状态值
mysql> show global status;
mysql> show global status;
3, 慢查询
mysql> show variables like '%slow%';  
+--------------- ......

Mysql编译安装参数优化

 1. -static  13%
   --with-client-ldflags=-all-static
   --with-mysqld-ldflags=-all-static
静态链接提高13%性能
2. -pgcc  1%
   CFLAGS="-O3 -mpentiumpro -mstack-align-double" CXX=gcc \
     CXXFLAGS="-O3 -mpentiumpro -mstack-alig ......

PHP中mysql_fetch_array()和mysql_fetch_row()的区别

 最近在做PHP与数据库交互的project,急于求成,模仿了下例子就开始动手,结果误把mysql_fetch_array写成了mysql_fetch_row,囧事来了,发现返回的数组居然是index=>value的形式,而明明记得是field name=>value的哈,查手册才明白。
1. mysql_fetch_array的函数原型是
array mysql_fetch_array ( resour ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号