GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Mysql backup question (https://gfy.com/showthread.php?t=455128)

acctman 04-12-2005 02:52 PM

Mysql backup question
 
anyone know how to back up a mysql database via shell?

mrthumbs 04-12-2005 02:53 PM

mysqldump -u username -ppassword databasename > database.sql

mrthumbs 04-12-2005 02:54 PM

and its -ppassword not -p password like it is with username!

notjoe 04-12-2005 02:56 PM

Quote:

Originally Posted by mrthumbs
and its -ppassword not -p password like it is with username!

:thumbsup

The other option is to run it with replication

Babaganoosh 04-12-2005 02:58 PM

You have a BSD image in your sig but you don't know how to back up mysql? Too funny. Poseur.

rickholio 04-12-2005 03:06 PM

Quote:

Originally Posted by Babaganoosh
You have a BSD image in your sig but you don't know how to back up mysql? Too funny. Poseur.

:thumbsup

And another :thumbsup for reference to Takeshi's Castle.

fris 04-12-2005 03:08 PM

when you do -p it prompts you for a pass :)

acctman 04-12-2005 03:10 PM

many thanks =)

acctman 04-12-2005 03:13 PM

Quote:

Originally Posted by Babaganoosh
You have a BSD image in your sig but you don't know how to back up mysql? Too funny. Poseur.

to many commands to remember. plus i've never done a manual backup usually do it through phpmyadmin but now i know :pimp

teksonline 04-12-2005 03:39 PM

why dont you just download the mysql administrator for your windows machine


All times are GMT -7. The time now is 10:33 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123