×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

Help!!! Two question about PHP with MySQL.

本文发表在 rolia.net 枫下论坛Hi, everyone:

Thank you for your concern my questions. I am a new user for using PHP.

Although it is said that PHP is very good, taking me much time to configure my server frustrated me a lot. Finally my server runs well with my localhost or 127.0.0.1. It can connect to MySQL database and use session in it.

???? Question one:

Since I installed cable with my computer and the IP address changed to an external address, the server can access to MySQL no longer and the following message is displayed ( ‘aaaaaa’ is the username of the database and ‘bbb’ is the server name of my computer). I don’t know why ‘@bbb’ is always appended. How can I configure my server to get rid of it?

Warning: Access denied for user: 'aaaaaa@bbb' (Using password: YES) in F:\Project\bulllist.php on line 23

Warning: MySQL Connection Failed: Access denied for user: 'aaaaaa@bbb' (Using password: YES) in F:\Project\bulllist.php on line 23
Could not connect to database

???? The second problem is I can’t use session function, which was running well before I installed the cable and changed IP address. At which do I have to change in the php.ini?

Warning: Cannot send session cache limiter - headers already sent (output started at F:\Project\session\session.php:13) in F:\Project\session\session.php on line 15更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report