Sam's Tech Blog

You can check out any time you like, But you can never leave!'

2019-08-21

Run mysql from command line

How To run mysql from command line

Run mysql from command line

/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/syslog --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306