Old 28th May 2006, 16:25
TomH TomH is offline
Junior Member
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default MySQL on different port

Nothing great..just to prevent others from typing....how to change the port ISPConig (2.2.3!!!!) uses to connect to MySQL. Use this before running ./setup in SuSE 10. Replace 30000 with your preferred port number.

gawk '{ gsub(/3306/, "30000"); print }' ispconfig/lib/plugins/check_services_adm.plugin.php >tmp.txt
cp tmp.txt ispconfig/lib/plugins/check_services_adm.plugin.php
rm tmp.txt

gawk '{ gsub(/3306/, "30000"); print }' ispconfig/lib/plugins/check_services.plugin.php >tmp.txt
cp tmp.txt ispconfig/lib/plugins/check_services.plugin.php
rm tmp.txt

gawk '{ gsub(/3306/, "30000"); print }' scripts/lib/config.lib.php >tmp.txt
cp tmp.txt scripts/lib/config.lib.php
rm tmp.txt

gawk '{ gsub(/3306/, "30000"); print }' scripts/shell/check_services.php >tmp.txt
cp tmp.txt scripts/shell/check_services.php
rm tmp.txt

gawk '{ gsub(/i mysql/, "i 30000"); print }' setup2 >tmp.txt
cp tmp.txt setup2
rm tmp.txt
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 23:40
Sequring TPS Fedora4 Hagforce HOWTO-Related Questions 17 28th March 2006 18:36
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 17:04
Enabling MySQL on port southcot HOWTO-Related Questions 4 19th November 2005 22:39
Problem installing ISPConfig, then with MySQL... ctroyp Installation/Configuration 7 26th September 2005 17:37

All times are GMT +2. The time now is 10:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.