First check if your command line recognizes mysql command. If not go to command & type in:
set path=c:\wamp\bin\mysql\mysql5.1.36\bin
Then use this command to export your database:
mysqldump -u YourUser -p YourDatabaseName > wantedsqlfile.sql
You will then be prompted for the database password.
This exports the database to the path you are currently in, while executing this command
Note: Here are some detailed instructions regarding both import and export
Related Posts:
- Access Denied for User ‘root’@’localhost’ (using password: YES) – No Privileges?
- Cannot add or update a child row: a foreign key constraint fails
- How to make MySQL table primary key auto increment with some prefix
- MySQL error 2006: mysql server has gone away
- sql query with multiple where statements
- Cannot delete or update a parent row: a foreign key constraint fails
- Syntax error due to using a reserved word as a table or column name in MySQL
- MySQL root password change
- Installation of MySQL for Visual Studio 1.2.8 failed
- How do I import an SQL file using the command line in MySQL?
- Authentication plugin ‘caching_sha2_password’ cannot be loaded
- Select from multiple tables without a join?
- SQL Query Where Field DOES NOT Contain $x
- Is there an SQLite equivalent to MySQL’s DESCRIBE [table]?
- SQL – Update multiple records in one query
- MySQL Error 1093 – Can’t specify target table for update in FROM clause
- Mysql command not found in OS X 10.7
- MySQL – UPDATE query based on SELECT Query
- grabbing first row in a mysql query only
- What does SQL clause “GROUP BY 1” mean?
- LAST_INSERT_ID() MySQL
- Generating a random & unique 8 character string using MySQL
- MySQL > Table doesn’t exist. But it does (or it should)
- SQL select only rows with max value on a column
- Trying to perform MINUS operation in MySQL
- How do I find which transaction is causing a “Waiting for table metadata lock” state?
- Getting java.sql.SQLException: Operation not allowed after ResultSet closed
- MySQL config file location – redhat linux server
- How to create a foreign key in phpmyadmin
- Can’t create test file lower test start server mysql
- MySQL delete multiple rows in one query conditions unique to each row
- Create boolean column in MySQL with false as default value?
- SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
- Is there a naming convention for MySQL?
- CAST to DECIMAL in MySQL
- GROUP_CONCAT comma separator – MySQL
- Failed to Connect to MySQL at localhost:3306 with user root
- How do you properly prepare a %LIKE% SQL statement?
- Set page template for all pages?
- What specific database privileges does WordPress need?
- SQL query to update post_date (one post = one single date & time)
- My WordPress site always displays a cached version of its homepage
- How to copy post titles to post slug in phpmyadmin
- If I consider changing my WordPress DB tables to InnoDB, will it have an effect on the way WordPress works?
- Proper way to work with wpdb to get user’s firstname
- How to change post format from Aside to Image for all posts?
- Inserting Hundreds of Thousands of Posts at Once
- wp_admin edit.php slow with lots of queries
- How to add and SQL query of posts only published
- Slow Mysql Queries
- Database: Custom table: sprintf value for DateTime column
- What is the most secure way to set up the MySQL user in WPMU?
- Find duplicate posts with same slug and author
- WP_USE_EXT_MYSQL
- writing inner join in wpdb
- Distinction on meta value on pre_get_posts
- How to get data from WordPress site sql file
- WordPress with php5-fpm and nginx
- MySQL Rank & $wpdb
- When WordPress Default table, Echo Success. When Plugin Table, Echo Blank
- WordPress post_status is future, manually added
- How are multiple WordPress WPDB queries handled?
- Regarding “Insert query error” in wordpress
- MySQL 5.5 upgrade ‘broke’ WordPress [closed]
- WordPress plugin overloading with tmp tables
- Site not responding error – taking long to load [closed]
- What should a WordPress developer know about MySQL? [closed]
- Copyright: Get first and last date of post type
- WordPress(wpdb class) and mysql stored procedures
- WordPress plugins for database queries
- WordPress doesn’t display accents after migration
- Replace a character in all post titles and slugs
- Understanding custom php that reads from WP MYSQL
- $wpdb->get_var multiple queries in one database check
- List users with the most posts in the last 30 days
- Way to extract wordpress data from folder backup
- WordPress $wpdb no result
- Data is not constatntly loading from custom wordpress table
- Mysql Server keeps crashing
- How to search usermeta table
- How to add virtual column in wpdb get_result statement
- PHP Warning: mysqli_error(): Couldn’t fetch mysqli in
- I want to share local developement and staging DB — Is this very smart or very stupid?
- Extract all users along with yoast metadata description
- WordPress asks to install, but is already installed?
- Mysql Error in querying form entries in Gravity Form plugin
- Deleting a table row through query
- An SQL query to find orphaned image attachments and their meta
- Weird characters displayed when importing WordPress MySQL db
- Simple SQL Query in wordpress
- Saving custom term value to the database in new table
- MySQL errors after a WordPress clone
- optimise SQL wordpress call
- Complicated MySQL Query
- problem with quotes on new post
- WP_Query with LIKE returns strange query
- Where other than wp-config can database access details be defined?
- Is there an equivalent of MySQL’s SHOW CREATE TABLE in Postgres?
- How can I show user’s privileges in MySQL?
- Changing host permissions for MySQL users