<< previous page   --   table of contents   --   next page >>
| | | | | | | |
  • Return to Table of Contents
  • Table of Contents

    1. General Information
    2. MySQL Installation
    3. Tutorial Introduction
    4. Database Administration
    5. MySQL Optimisation
    6. MySQL Language Reference
    7. MySQL Table Types
    8. MySQL APIs
    9. Extending MySQL

    Chapter 4:  Database Administration 303 -O net_buffer_length=#, where # < 16M When creating multi-row-insert statements (as with option --extended-insert or --opt), mysqldump will create rows up to net_buffer_length length.  If you increase  this  variable,  you  should  also  ensure  that  the  max_allowed_packet variable in the MySQL server is bigger than the net_buffer_length. The most normal use of  mysqldump  is probably for making a backup of whole databases. See Section 4.4.1 [Backup], page 227. mysqldump --opt database > backup-file.sql You can read this back into MySQL with: mysql database < backup-file.sql or mysql -e "source /patch-to-backup/backup-file.sql" database However, it's also very useful to populate another MySQL server with information from a database: mysqldump --opt database | mysql ---host=remote-host -C database It is possible to dump several databases with one command: mysqldump --databases database1 [database2 ...] > my_databases.sql If all the databases are wanted, one can use: mysqldump --all-databases > all_databases.sql 4.8.6  mysqlhotcopy, Copying MySQL Databases and Tables mysqlhotcopy is a Perl script that uses LOCK TABLESFLUSH TABLES and cp or scp to quickly make a backup of a database.  It's the fastest way to make a backup of the database, of single tables but it can only be run on the same machine where the database directories are. mysqlhotcopy db_name [/path/to/new_directory] mysqlhotcopy db_name_1 ... db_name_n /path/to/new_directory mysqlhotcopy db_name./regex/ mysqlhotcopy supports the following options: -?, --help Display a help screen and exit -u, --user=# User for database login -p, --password=# Password to use when connecting to server -P, --port=# Port to use when connecting to local server
     

    Customer Support CentreMySQL Reference Manual

    Web Hosting Services
    UNIX WEB HOSTING
    SUPPORT & FAQ's
    TERMS OF USE
    Domain Services
    DOMAIN REGISTRATION
    MANAGE YOUR ACCOUNT
    SUPPORT & FAQ's
    TERMS OF USE
    SITE MAP
    Home
    Hosting Plans | Domain Registration | About Us | Contact Us | Site Map
    Terms of Use | Privacy Policy | Guarantees
    Merchant Accounts

    SpiritHost - web hosting for spiritual and education sites
    SpiritHit.com - Religious and Spiritual Portal
  • Return to Table of Contents
  • Back to top

  • Web Hosting: Manuals & FAQ's

    1. Unix-Based Web Hosting
    2. Unix Dedicated Servers
    3. Windows Dedicated Servers
    4. CuteFTP User’s Guide
    5. CuteHTML User’s Guide
    6. WS_FTP Pro User's Guide
    7. Miva Order User's Guide
    8. Miva Merchant User's Guide