Error Message: Could not connect to MySQL database as User: root
MySQL: 5.0.27
PHP: 5.2.1
IIS: XP Pro
Run hello.php, get information as follow:
mysqli
MysqlI Support enabled
Client API library version 5.0.22
Client API header version 5.0.22
MYSQLI_SOCKET /tmp/mysql.sock
Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
Run command: mysql -u root -p pacs_server
I can access the database. And it shows 94 rows when I run Show Tables.
Any idea?
Thanks.
Login problem
-
- Posts:3
- Joined:Thu Feb 15, 2007 10:25 pm
This means PHP was not able to write any session files, if you don't see any files under the configured Session.save_path fodler.
Can you post the HTML output of the test page:
http://localhost/pacsone/Hello.php
Can you post the HTML output of the test page:
http://localhost/pacsone/Hello.php
-
- Posts:3
- Joined:Thu Feb 15, 2007 10:25 pm
Found the problem
The IIS account doesn't have permission to write to that folder. Thank you for your help.