Collections:
Creating a Test Table in MySQL Server in MySQL
How To Create a Test Table in Your MySQL Server in MySQL?
✍: FYIcenter.com
If you want to create a test table in your MySQL server, you can use the "mysql" program in a command window as shown in the following tutorial:
>cd \mysql\bin
>mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 5.0.24-
mysql> use test
Database changed
mysql> CREATE TABLE test (message VARCHAR(80));
Query OK, 0 rows affected (0.13 sec)
mysql> INSERT INTO test
-> VALUES ('Welcome to FYIcenter.com');
Query OK, 1 row affected (0.03 sec)
mysql> SELECT * FROM test;
+---------------------------+
| message |
+---------------------------+
| Welcome to FYIcenter.come |
+---------------------------+
1 row in set (0.00 sec)
mysql> DROP TABLE test;
Query OK, 0 rows affected (0.01 sec)
mysql> quit
Bye
⇒ Shutting Down MySQL Server in MySQL
⇐ Verify the Version of MySQL Server in MySQL
2018-06-06, 2769🔥, 0💬
Popular Posts:
What Privilege Is Needed for a User to Delete Rows from Tables in Another Schema in Oracle? For a us...
How To Revise and Re-Run the Last SQL Command in Oracle? If executed a long SQL statement, found a m...
How to calculate the storage size of a JSON (JavaScript Object Notation) value using the JSON_STORAG...
How To Start the Command-Line SQL*Plus in Oracle? If you Oracle server or client installed on your w...
Where to find answers to frequently asked questions on PHP Connections and Query Execution for MySQL...