-
Book Overview & Buying
-
Table Of Contents
Mastering phpMyAdmin 3.3.x for Effective MySQL Management
Any file containing MySQL statements can be imported via this mechanism. This format is more commonly used for backup/restore purposes. The relevant dialog is available in the Database view or the Table view, via the Import subpage, or in the Query window.
![]() |
There is no relation between the currently-selected table (here author) and the actual contents of the SQL file that will be imported. All of the contents of the SQL file will be imported, and it's those contents that determine which tables or databases are affected. However, if the imported file does not contain any SQL statements to select a database, all statements in the imported file will be executed on the currently-selected database.
Let's try an import exercise. First, we make sure that we have a current SQL export of the book table (as explained in Chapter 6, Exporting Structure and Data (Backup)). This export file must contain the structure and the data. Then we drop the book table yes, really! We could...
Change the font size
Change margin width
Change background colour
