Search
 
SCRIPT & CODE EXAMPLE
 

SQL

import database mysql ubuntu linux

mysql -h localhost -u username -p database_name < backup_file.sql
Comment

import sql mysql ubuntu

mysql -u username -p database_name < file.sql
#or, after login in to mysql
source sql_file_name_with_path.sql;
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql modify foreign key 
Sql :: oracle modify column type 
Sql :: show all sequence in postgresql 
Sql :: get the list of all tables in sql server 
Sql :: mysql add days to date 
Sql :: how to group by month using sql server 
Sql :: postgres stop server mac 
Sql :: add sequence postgres 
Sql :: create table if not exist in sqlite 
Sql :: restart mysql server ubuntu 
Sql :: postgres alter table add primary key 
Sql :: InnoDB: page_cleaner: 1000ms intended loop took 7742ms. The settings might not be optimal 
Sql :: change mysql password from command line 
Sql :: sql server check port number 
Sql :: grant schema permissions postgres 
Sql :: sql try catch 
Sql :: oracle cpu per session 
Sql :: String concatenation in PostgreSQL 
Sql :: t-sql disable system versioning 
Sql :: mysql set root password 
Sql :: sql server add identity column to existing table 
Sql :: starting mysql service from mac 
Sql :: vagrant mysql downgrade version 
Sql :: oracle list datafiles in tablespace 
Sql :: python mysql check if database exists 
Sql :: oracle character index 
Sql :: mysql current user 
Sql :: uninstall mysql server ubuntu 
Sql :: list columns in table postgres 
Sql :: oracle stop 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =