Can not connect to database through PacsOne

Trouble during PacsOne Server installations
Post Reply
mark.arneson@gmail.com
Posts:3
Joined:Sun Jan 29, 2012 10:50 pm
Can not connect to database through PacsOne

Post by mark.arneson@gmail.com » Sun Jan 29, 2012 11:01 pm

I can log into the database with the username and password via the shell but Pacsone will not. I get the following on the login page:

"Could not connect to database dicom@localhost as User:bryan
(yes, I can log into the database as bryan outside of pacsone)

Please check your username and password."

I'm running Slackware linux with MySQL database.

The install.sh script ran without error. Could this be because I'm not using Oracle?

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

Post by pacsone » Mon Jan 30, 2012 5:18 pm

Can you check if the mysql/mysqli PHP extension is loaded successfully from the HTML output of the test page below?

http://localhost/pacsone/Hello.php

mark.arneson@gmail.com
Posts:3
Joined:Sun Jan 29, 2012 10:50 pm

Post by mark.arneson@gmail.com » Mon Jan 30, 2012 11:03 pm

I'll do that. I tried Oracle's distro with the oracle database.

I'm glad to hear it should work with MySQL. I'm putting Slackware back on right now.

mark.arneson@gmail.com
Posts:3
Joined:Sun Jan 29, 2012 10:50 pm

Post by mark.arneson@gmail.com » Tue Jan 31, 2012 2:44 am

Thank you for the tip!

mysql.sock was set correctly in mysql but not mysqli in the php.ini file.

works great now.

Post Reply