Control Web Panel
WebPanel => MySQL => Topic started by: qheart on November 15, 2015, 01:36:36 PM
-
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
-
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