Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Suggestions » MYSQL Configuration Options
MYSQL Configuration Options [message #2519] Mon, 03 May 2010 00:42 Go to next message
ljkbrost is currently offline  ljkbrost
Messages: 59
Registered: April 2006
Member
Hi,

It would be good to upgrade the configuration to support connecting to MySQL instances running on different ports. The real_connect function of mysql supports it, but currently the framework pass 'null' in all cases.

Thanks,


Kyle Brost
----
Re: MYSQL Configuration Options [message #2520 is a reply to message #2519] Mon, 03 May 2010 06:30 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
Try the modified code in the attached zip file and let me know if it works.

The file 'config.inc.default' shows where the new parameters 'dbport' and 'dbsocket' can be defined.


Re: MYSQL Configuration Options [message #2521 is a reply to message #2520] Tue, 04 May 2010 09:50 Go to previous message
ljkbrost is currently offline  ljkbrost
Messages: 59
Registered: April 2006
Member
It works fine.

If you create a FAQ on this you should note that the localhost dbhost name must be 127.0.0.1 if you want to use a port other than the default. If you use 'localhost' it will only use the file based socket for connection.

Cheers,


Kyle Brost
----
Previous Topic: Auto populate dict columns
Next Topic: Thank you!
Goto Forum:
  


Current Time: Tue Dec 03 13:11:47 EST 2024

Total time taken to generate the page: 0.01464 seconds