MySqL Login & Import Dump .sql file

cmd: mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 5.7.29-0ubuntu0.18.04.1 (Ubuntu)

Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));

Query OK, 0 rows affected (0.06 sec)

mysql> \q
Bye



Import Sql Dump File into your database
mysql -u root -p database_name < chumaround_21_02_2020.sql

Comments

Popular posts from this blog

Check Your ageInDays by Javascript