mysql default port
mysql -u root
mysql> SHOW GLOBAL VARIABLES LIKE 'PORT';
# Default port is 3306 for MySQL
mysql default port
mysql -u root
mysql> SHOW GLOBAL VARIABLES LIKE 'PORT';
# Default port is 3306 for MySQL
Configure MYSQL to run on another port number, other than the default port 3306 ubuntu linux
sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf
port 3306 =>3309 /*change the port number from 3306 to any of choice*/
service mysql restart
sudo mysql
select @@port /*to identify the new port running on*/
https://www.linkedin.com/pulse/how-change-mysql-default-port-3306-secure-piyush-diwakar/?trk=public_profile_article_view
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us