全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1520|回复: 15
打印 上一主题 下一主题

AMH妹汁进来下

[复制链接]
跳转到指定楼层
1#
发表于 2013-5-13 21:46:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
安装discuz出现了这个 怎么解决呀 QQ截图20130513215123.jpg (32.64 KB, 下载次数: 0)
2#
发表于 2013-5-13 21:47:33 | 只看该作者
不要写localhost,写127.0.0.1试试

点评

对的,是这个,一时忘了,好像是看到过  发表于 2013-5-13 21:50
3#
发表于 2013-5-13 21:51:03 | 只看该作者
瘦够了 发表于 2013-5-13 21:47
不要写localhost,写127.0.0.1试试




------


http://amysql.com/bbs/post-251-1-1.htm

问:MySQL数据库无法链接?
http://amysql.com/bbs/post-203-1-1.htm
http://amysql.com/bbs/post-273-1-1.htm (切换兼容模式)
4#
发表于 2013-5-13 22:13:48 | 只看该作者
smyz 发表于 2013-5-13 21:51
------

5#
发表于 2013-5-13 22:25:38 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
6#
发表于 2013-5-14 02:39:19 | 只看该作者
smyz 发表于 2013-5-13 21:51
------

直接mysql -uroot -ppass无法连接数据库
怎么解决?
7#
发表于 2013-5-14 02:48:03 | 只看该作者
mysql可以带-h参数指定主机

点评

K妹  发表于 2013-5-14 12:17
8#
发表于 2013-5-14 08:14:57 | 只看该作者
mark
9#
发表于 2013-5-14 12:15:56 | 只看该作者
kaia 发表于 2013-5-14 02:39
直接mysql -uroot -ppass无法连接数据库
怎么解决?

可以的呀,我也是这么用。

[root@host ErrorPages]# mysql -uroot -pamh_password
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3581
Server version: 5.5.31-log Source distribution

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>
10#
发表于 2013-5-14 14:18:45 | 只看该作者
smyz 发表于 2013-5-14 12:15
可以的呀,我也是这么用。

[root@host ErrorPages]# mysql -uroot -pamh_password

错误诶。。。
脚本写入的时候都没法写入
装好 我又用 mysql 也没法连接 不晓得怎么回事。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-12-24 03:20 , Processed in 0.074753 second(s), 16 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表