English Sentence Loading...
英语句子加载中...
浏览模式: 普通 | 列表
分类: 『安全優化』 | < | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | > | >>
启动mysql错误
我新安装mysql什么也没有设置也没有设置过密码我启动它是显示
[root@ann bin]# ./mysqladmin -u root -p password '123456'
Enter password:
./mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[root@ann bin]#

请问是什么问题??

答:你那样的提示说明你的mysqld还没有正常启动,先启动它.
...

阅读全文...

[Liunx资料]liunx下,mysql密码修改

[ 2007-11-23 20:43:02 | 作者: Admin ]
以root登陆
mysql> SET PASSWORD FOR root=PASSWORD('new_password');

[Liunx资料]redhat9下的防火墙脚本

[ 2007-11-22 16:52:21 | 作者: Admin ]
#!/bin/sh

# make me executable (chmod a+x rc.firewall ) and run me on boot

#
# djweis@internetsolver.com
# iptables firewall script
# this script is meant to be run once per boot
# the rules will be double added if you try to run it twice
# if you need to add another rule during runtime, change the
# -A to a -I to add it to the top of the list of rules
# if you use -A it will go ...

阅读全文...

[Liunx资料]liunx一句话问题

[ 2007-11-22 16:51:56 | 作者: Admin ]
编者按:鉴于目前中国Linux的发展现状,90%以上的问题都可以用一句话来回答,这便是本文的初衷。欢迎大家添加自己的“一句话”,收录后注明原始提供者。更详细的文档,请浏览本版精华区或http://www.unixsky.org/docs/linux/

----------------------------网络无关篇--------------------------
0001 修改主机名(bjchenxu)
vi /etc/sysconfig/network,修改HOSTNAME一行为"HOSTNAME=主机名"(没有这行?那就添加这一行吧),然后运行命令" hostname 主机名"。无论你是否重启,主机名修改成功了。

0002 Ret Hat Linux启动到文字界面(不启动xwindow)(bjchenxu)
vi /etc/inittab
id:x:initdefault:
...

阅读全文...
192.168.0.7
机器mysql 可能设置连接数据库只可从local连接

你看看 user 库中

select * from user;
+---------------+----------+------------------+-------------+-------------+-------------+-------------+-------------+-----------+-------------+---------------+--------------+-----------+------------+-----------------+------------+------------+--------------+------------+-----------------------+------------------+--------...

阅读全文...
由于gd2才开始支持真彩图片的创建,所以,,升级服务器,因为原来的安装都是默认的系统安装,也更因为是个菜鸟,所以,安装很困难,起初根据网上一些文章在我的red hat A 3 上安装测试,不过,测试了安装php4.3.X 和php5.0.X都没有成功,最后,根据其他人的文章,自己搞了将近3天,终于安装上了,下面就我安装中出现的错误和过程写出来和大家分享,以免有像我一样的菜鸟们走弯路! (我可是两天多的时间,安装php的次数不下50次得来的经验,希望大家多多支持,有错误当然欢迎给我指正!转载请注明来自中国智慧在线(http: //article.21e.cn ,谢谢!),以下经过测试在red hat 9 和red hat A 3上通过!
欢迎转载,但是请注明原出处:http://article.21e.cn !!谢谢!

如果你机器里原来装有了PHP或者APACHE的RPM或者低版本....

阅读全文...