This forum is no longer active. Please post your questions to our new community site
How do I change mysql port
|
|
I’m trying to change the port MYSQL uses after it is installed. It was installed by the LAMP stack with the mediawiki module after. I tried changing /etc/mysql/my.cnf and /lampstack/mysql/my.cnf but no effect so far -dave |
|
|
Hi, Try to modify the “—port” option in the <installation_directory>/mysql/scripts/ctl.sh also. This change should be enough. You should not modify the /etc/mysql/my.cnf file because this file is used by the installed database on your system, it is not used by the MySQL included in the stack. Cheers |
|
|
Thanks. I didn’t notice it was overriding the .cnf. works great. |

