Author Topic: Change default port mariadb in cwp?  (Read 11822 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Change default port mariadb in cwp?
« 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


sorry for my bad english :(

Offline
*****
Re: Change default port mariadb in cwp?
« Reply #1 on: November 17, 2015, 05:09:19 PM »
Hello.

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

Code: [Select]
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