当前位置:网站首页>Export MySQL database to xxx SQL, set xxx The SQL file is imported into MySQL on the server. Project deployment.
Export MySQL database to xxx SQL, set xxx The SQL file is imported into MySQL on the server. Project deployment.
2022-06-24 08:25:00 【weixin_ forty-six million three hundred and seventy-one thousan】
One 、 Will local myql Database exported as oasystem.sql
mysqldump -h 127.0.0.1 -uroot [email protected] oasystem > f:oasystem.sql
IP Database name Location and name of the export
Two 、 take oasystem.sql File upload to server mysql in
I will oasystem.sql Upload to /home/lkj/ route
1、 On the server mysql in , establish database oasystem
mysql> create database oasystem;
2、 Use the newly created database
mysql> use oasystem
3、 take oasystem.sql Import into database
mysql> source /home/lkj/oasystem.sql;
4、 Check :
mysql> show databases;
边栏推荐
- Utilisation de la fermeture / bloc de base SWIFT (source)
- LINQ 查询(2)
- Live broadcast review | detailed explanation of koordinator architecture of cloud native hybrid system (complete ppt attached)
- Solve the problem of notebook keyboard disabling failure
- Introduction to software engineering - Chapter 2 - feasibility study
- Introduction to software engineering - Chapter 3 - Requirements Analysis
- Robot acceleration level task priority inverse kinematics
- [graduation season] Hello stranger, this is a pink letter
- Simple summary of lighting usage
- 51单片机_外部中断 与 定时/计数器中断
猜你喜欢

More than observation | Alibaba cloud observable suite officially released

Application of JDBC in performance test

2022年制冷与空调设备运行操作上岗证题库及模拟考试

RCNN、Fast-RCNN、Faster-RCNN介绍

C language_ Love and hate between string and pointer

MAYA重新拓布

More appropriate development mode under epidemic situation

Pat 1157: school anniversary

longhorn安装与使用

PAT 1157:校庆
随机推荐
Analysis of abnormal problems in domain name resolution in kubernetes
"Adobe international certification" about Adobe Photoshop, creating and modifying brush tutorials?
longhorn安装与使用
Transformers pretrainedtokenizer class
1279_VMWare Player安装VMWare Tools时VSock安装失败解决
Easyplayerpro win configuration full screen mode can not be full screen why
Swift foundation features unique to swift
直播回顾 | 云原生混部系统 Koordinator 架构详解(附完整PPT)
etcd备份恢复原理详解及踩坑实录
2022 tea artist (intermediate) work license question bank and online simulation examination
Qt导出PDF文件的两种方法
WCF TCP protocol transmission
Scénarios d'utilisation de la promesse
Vscode topic recommendation
问题4 — DatePicker日期选择器,2个日期选择器(开始、结束日期)的禁用
LabVIEW finds prime numbers in an array of n elements
Detailed explanation of etcd backup and recovery principle and actual record of stepping on the pit
487. number of maximum consecutive 1 II ●●
Use of swift basic closure /block (source code)
11--无重复字符的最长子串