Yes I am running:
PHP version 5.2.17
MySQL version 5.0.91
I did remove everything and downloaded openemr 3.2.0 and it got this far (but stopped):
OpenEMR Setup
Step 3
Configuring OpenEMR…
Connecting to MySQL Server… OK.
Opening database…OK.
Creating Main tables… OK
Creating Language Translation (latin1) tables… Creating Language Translation (latin1) tables…
sudo apt-get install dpkg -l php5-mysql ( <- that’s a lower case “L” after the hyphen)
In addition to having php and mysql, the php5-mysql package lets the php language connect to the database. If it isn’t installed, you get the mysterious hang you are describing.
I’ve got other apps installed which have worked fine…unfortunately I do not have command line access to the server.
I am trying to install this on a hosted linux web server without command line access.
I’m not familiar with cpanel. Can you contact the site admin and ask them if php5-mysql is installed?
Some time ago, I purged an old openemr installation, then went to re-install the current version. It hung at Step 3, as you describe. The php5-mysql package was missing. Once that was installed, everything was fine.
OK I ran it with monitoring the script(through the help of my server supplier)…although the webpage stops reporting what it is doing, the php script still runs (monitoring the PID)
I don’t have anything else to offer. Step 3 is when the php code starts communicating with the mysql database, and it seems that if something isn’t working, it can wait forever without issuing an error. As I said, my problem was not having the php-mysql linkage package installed.
When starting the DB build, I am pre-building the database (as I don’t have root access, letting the install create database won’t work).
So with the install program using the ‘create database for me’ option you can set the collation.
I used the 'I have already created the database option, which doesn’t have the option to set collation.
but when I go into myphpadmin after the install has frozen in step 3, the tables collation are all set to latin1_swedish_ci, so I’m wondering if the collation is the problem and where would I go to force the install to use utf8?
I checked on the phpmyadmin page and the MySQL connection collation is set to utf8.
Does this info help or am I just going down the wrong path?
Hi,
This may not fix your issue, but it’s definitely desirable to use UTF8 rather than latin1 for your database encoding. The encoding is set up when you pre-build the database; if your using phpmyadmin to pre-build the database then there should be this option when you create the new database (if not, then would ask your site admin). Let us know how this goes.
-brady
mysqladmin is what is used to build the db and there are no collation options for database creation.
MyPHPadmin is what would be used to build the tables and the collation option is set there … but it auto defaults to utf8, so on table creation is their something in the script which defines collation I can edit?