一、安装Apache2 #yum -y install
httpd安装配置完成,启动httpd服务#service httpd start二、安装Mysql1.安装mysql#yum -y install
mysql-server安装完成,启动mysql服务:#service mysqld star...
分类:
数据库 时间:
2014-06-11 11:14:36
阅读次数:
416
不解释 ,cmd下直接运行sc create mysql binPath=
"C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqld.exe" start= auto
分类:
数据库 时间:
2014-06-06 11:33:55
阅读次数:
237
系统centOS-6.3
方法操作很简单,如下:
# /etc/init.d/mysql stop
# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
# mysql -u root mysql
# mysql>use mysql ;
mysql> UPDATE user SET Password=PAS...
分类:
数据库 时间:
2014-06-05 02:54:40
阅读次数:
331
1. mysql忘记密码
vim /etc/my.conf 文件在mysqld下添加skip-grant-tables,表示mysql在登录的时候不检查权限。登录mysql。直接运行mysql> use mysql;
> update user set Password=password('root') where User='root'
> flush privileges;
> qu...
分类:
数据库 时间:
2014-06-03 02:24:16
阅读次数:
283
转自:https://www.centos.bz/2011/07/howto-remove-lnmp/killall
nginx/etc/init.d/mysql stopkillall mysqld/usr/local/php/sbin/php-fpm stopkillall
php-cgirm ...
分类:
其他好文 时间:
2014-05-31 15:56:05
阅读次数:
277
1、修改/etc/my.cnf文件
找到mysqld选项,增加子项skip-grant-tables2、重新启动mysql服务 service mysqld restart3、进入mysql
在shell中执行mysql -u root4、设置root新密码 update mysql.user se...
分类:
数据库 时间:
2014-05-30 23:34:38
阅读次数:
334
mysql too many open
connections问题解决方法。原文参考:http://www.jbxue.com/db/10068.html原因主要是:max_connections配置问题导致,它必须在[mysqld]下面才会生效。曾经以为在my.cnf写入max_connectio...
分类:
数据库 时间:
2014-05-30 05:22:53
阅读次数:
319
下面是一个我自己用的设置MYSQL的安全的魔兽世界私服的单机设置办法。这个是针对2-4G内存来设置的。提升MYSQL的吞吐量。实现MYSQL的稳定,让多人在游戏里面玩的时候不至于由于MYSQL而导致很卡
[client]port=3306[mysqld]port=3306old-passwords....
分类:
数据库 时间:
2014-05-27 17:08:48
阅读次数:
392
公司mysql dba把数据库root密码丢失需要破解,方法如下,适合linux、unix机器
service mysqld stop
/opt/mysql/bin/mysqld_safe --skip-grant-tables &
/opt/mysql/bin/mysql -u root
update mysql.user set password=PASSWORD('...') ...
分类:
数据库 时间:
2014-05-26 04:08:37
阅读次数:
397
CentOS命令登录MySQL时,报错ERROR 1045 (28000): Access
denied for user root@localhost (using password: NO)错误解决方法1、停用mysql服务:#
/etc/rc.d/init.d/mysqld stop2、输入命...
分类:
数据库 时间:
2014-05-26 01:58:12
阅读次数:
306