Collections:
"mysql" Command Line Arguments in MySQL
What Are the "mysql" Command Line Arguments in MySQL?
✍: FYIcenter.com
"mysql" supports only one optional command line argument, "database". But "mysql" allows the operating system to redirect input and output streams at the command line level. Here are some good examples:
Here is a tutorial exercise of how to use the command line argument to specify the database to use:
>cd \mysql\bin >mysql -u root test Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 4 to server version: 5.0.24 mysql> show tables; +----------------+ | Tables_in_test | +----------------+ | links | +----------------+ 1 row in set (0.00 sec) mysql> quit; Bye
⇒ DDL Commands Supported in MySQL
⇐ "mysql" Command Line Options in MySQL
2018-04-28, 3071🔥, 0💬
Popular Posts:
How To Assign Debug Privileges to a User in Oracle? In order to run SQL Developer in debug mode, the...
How Fixed Length Strings Are Truncated and Padded in SQL Server Transact-SQL? When the length of the...
How AdventureWorksLT tables are related in SQL Server? There are 12 user tables defined in Adventure...
How To Disable a Login Name in SQL Server? If you want temporarily disable a login name, you can use...
Where to find reference information and tutorials on MySQL database functions? I want to know how to...