Basic_Sql_Cli

CLI

Login

Use this command for login in the mysql CLI. -p it would prompt for password.

// Default Login

mysql -u root -p

// Custom parameters while SQL Login mysql -u root -p -h 192.168.43.147 -P 6603 -D database_name