Error accessing OpenEMR on the web

octort wrote on Wednesday, May 25, 2011:

I am getting this error when trying to access OpenEMR - http://www.site.com/openemr

Warning: mysql_pconnect() : Access denied for user ‘openemr’@‘localhost’ (using password: YES) in /home/site/public_html/openemr/library/adodb/drivers/adodb-mysql.inc.php on line 342
Check that mysqld is running.

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/site/public_html/openemr/library/sql.inc on line 33

ERROR: Could not connect to server!

any suggestions? It seems to be a user password error but I can access mysql tables with no problem thru phpmyadmin.

duhsty wrote on Wednesday, May 25, 2011:

One newbee to another. Others certanily more qualified. Looks like this is new install on localhost. We got ourselves in same situation. Our solution was to drop the openemr database (good that you can get to it with phpmyadmin).  I think we had to reset the value of “$config” in “htdocs/openemr/default/sites/default/sqlconf.php” to to “0”

Then run “localhost/setup.php” in browser and recreate the database when prompted. This is only the beginning of learning a very complex product. Good luck
Dusty
Olympia,WA

octort wrote on Thursday, May 26, 2011:

thanks for your reply!

I am getting this message when I open http://site.com/openemr/phpmyadmin/scripts/setup.php:

phpMyAdmin has no session site ID!

any suggestions?

ozyus wrote on Sunday, June 19, 2011:

Clear Browser Cashe

duhsty wrote on Sunday, June 19, 2011:

I suggested running .\htdocs\openemr\setup.php - - not .\htdocs\openemr/phpmyadmin/scripts/setup.php:
You are in an uncharted area for me.
Dusty

octort wrote on Monday, June 20, 2011:

Solved, thanks!