Gacl and sql.inc ignore port settings

yehster wrote on Tuesday, July 02, 2013:

Even though the setup script allows for specifying a port number other than the default of 3306 for the MySQL server, if you use something other than 3306, the port number doesn’t get applied in gacl or sql.inc or the calendar/config.php

I installed MariaDB on port 3307 so I could have MySQL still on 3306 and have discovered this problem.

yehster wrote on Tuesday, July 02, 2013:

I think the correct way to handle this is actually to ignore/remove the port option/field and specify it in the hostname instead.

yehster wrote on Tuesday, July 02, 2013:

bradymiller wrote on Wednesday, July 03, 2013:

At work and can’t view the code. But guessing you may break things for
upgraders(usually best to never touch the SQL config file). Will look at it
soon.
On Jul 2, 2013 12:48 PM, “Kevin Yeh” yehster@users.sf.net wrote:

Fix port settings in config files · yehster/openemr@2f253d9 · GitHub

gacl and sql.inc ignore port settingshttps://sourceforge.net/p/openemr/discussion/202506/thread/79db999a/?limit=25#e920

Sent from sourceforge.net because you indicated interest in
OpenEMR / Discussion / Developers

To unsubscribe from further messages, please visit
SourceForge.net: Log In to SourceForge.net

yehster wrote on Thursday, July 11, 2013:


I pushed this to master. Decided to go the more conservative route and add the port information explicitly.