Login problem

Trouble during PacsOne Server installations
Post Reply
Martin Zhao
Posts:3
Joined:Thu Feb 15, 2007 10:25 pm
Login problem

Post by Martin Zhao » Thu Feb 15, 2007 10:33 pm

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.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu Feb 15, 2007 11:09 pm

Did you check the Session.save_path variable and see if it's set to a valid/existing directory on the local server?

Martin Zhao
Posts:3
Joined:Thu Feb 15, 2007 10:25 pm

Post by Martin Zhao » Thu Feb 15, 2007 11:21 pm

Yes, it is an existing folder. And the folder is blank.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Fri Feb 16, 2007 12:07 am

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

Martin Zhao
Posts:3
Joined:Thu Feb 15, 2007 10:25 pm

Found the problem

Post by Martin Zhao » Fri Feb 16, 2007 2:13 pm

The IIS account doesn't have permission to write to that folder. Thank you for your help.

Post Reply