Can the MySQL port be modified from conf.ini?
Archived from the Xataface Users forum.
Aoirthoir — Wed Sep 20, 2006 9:21 am
Pretty much as stated. If it cannot I assume I would change it in one of the .php files.
I’ve been using Xamp. But I realized I was using Wamp before. So now I am at times running 2 copies of MySQL on different ports. If it cant be set in an ini or a local(app) file, then I will just keep changing the settings back and forth for now.
Thank you kindly.
shannah — Wed Sep 20, 2006 9:58 am
You should just be able to append the port to the host line of the conf.ini file. The info from the [_database] section essentially gets passed directly through to the mysql_connect call (http://ca3.php.net/manual/en/function.mysql-connect.php).
e.g.
[_database]
host=localhost:9091 ; Mysql is running on port 9091
Hope this helps..
-Steve
Aoirthoir — Wed Sep 20, 2006 11:23 am
That does it. I can add to the issue tracker and mark it resolved or leave it here. Will of course add it to the FAQ and other docs as I get them going.