Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8122391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:49:18+00:00 2026-06-06T05:49:18+00:00

mysqldump -S /opt/lampp/var/mysql/mysql.sock -u root -h localhost -p gihan mistoria wp_posts | gzip -9

  • 0
mysqldump -S /opt/lampp/var/mysql/mysql.sock -u root -h localhost -p gihan mistoria wp_posts |  gzip -9 >/opt/lampp/htdocs/mistoria/wp-content/backups/backup_table.sql.gz

This is my command once insert this command it’s returning following error please help me out.

mysqldump: Got error: 1049: Unknown database 'gihan' when selecting the database
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:49:20+00:00Added an answer on June 6, 2026 at 5:49 am

    Remove the space between “-p” and the password.

    mysqldump -S /opt/lampp/var/mysql/mysql.sock -u root -h localhost -pgihan mistoria wp_posts |  gzip -9 >/opt/lampp/htdocs/mistoria/wp-content/backups/backup_table.sql.gz
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I back up my production database with the following command: mysqldump -u root --opt
I wrote a script to backup my MySQL databases using: mysqldump --opt --all-databases -u
I have a .sql file created in Linux using: mysqldump --opt db_name | gzip
Given bad mysqldump that causes error on import: namtar backups # mysql -p <
I keep getting empty files generated from running $command = 'mysqldump --opt -h localhost
@cost_time def dbdump_all(): 导出数据库所有数据至当前目录下以年月日命名的sql文件 filename=datetime.datetime.now().strftime(%Y-%m-%d) cmd=mysqldump -u root -pzhoubt --opt --quick --database search >
Ok, so I'm in need to restore a table and I do: mysqldump --opt
I've got a script which launch this MySQL command : mysqldump -u login -ppass
How can I make a perfect backup of mysql database using mysqldump? When I
I write some code with PHP to backup database. Here my code: exec(mysqldump --opt

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.