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: 1206
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.


Tony Marston
http://www.tonymarston.net
http://www.radicore.org
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
Goto Forum:
  


Current Time: Thu Sep 09 01:05:29 EDT 2010

Total time taken to generate the page: 0.05875 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software