-
本地构建 PHP 服务器 和 MySQL DB
-
localhost
db
-
-
开发web页面
-
mysqldump 出数据库
-
mysql 导入数据库
-
数据库的地址在主机控制台可以查到
db
-
-
修改php页面的db连接信息
- 提示
Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf
-
大致的意思就是密码不对了,重置并选择41位
重置密码 -
正常访问
web
网友评论