Change default port mariadb in cwp?

Started by qheart, November 15, 2015, 01:36:36 PM

Previous topic - Next topic

qheart

Hello How to change mariadb port default ?

I have edit in /etc/my.cnf.d/server.conf
i add in

[mysqld]
port=3333

after that i restart mariadb, service mysql restart

But in log port still on default port.
/usr/sbin/mysqld: ready for connections.
Version: '10.0.21-MariaDB'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MariaDB Server


sorry for my bad english :(

Igor S.

Hello.

Try to add it to the /etc/my.cnf . That should be works.
also for the checking use the command;

netstat -nlp | grep -i mysql



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services