mình kết nối dc tới database của máy khác rôi
Trích:
mysql -h 192.168.1.11 -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.0.77 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mangmaytinh |
| test |
+--------------------+
3 rows in set (0.00 sec)
|
nhưng ko hiểu sao cài wordpress, nó báo không tìm thấy database
cụ thể là trên máy 192.168.1.10 mình làm webserver kết nối tới database trên máy 192.168.1.11 với user là root pass tương ứng database name là : mangmaytinh như trên.
Nhưng ko hiểu sao kết nối ko dc
Trích:
Step 2) Connect to the database
Attempting to attach to database
Error description: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using old authentication /opt/lampp/htdocs/upload/includes/class_core.php on line 313
The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.
|
bác nào biết chia sẻ em ít kinh nghiệm,thank all.