简体   繁体   中英

Import 'schema.sql' file into PHPMyAdmin

I'm moving a site from one server to another and have successfully moved the files over and setup a new mySQL database. I've then imported the old database into the new one and that all works fine. I also have another file that I was supplied and I am having trouble importing it. It is a 'schema.sql' file. Could someone please explain what this is and how I would go about importing it into/alongside my other database? Many thanks!

In phpMyAdmin

1. Databases -> Create Database -> Set name and correct collation -> Create

2. Choose newly created database in left pane

3. Import -> File to import -> Choose file -> Click Go

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM