Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

dump database wo myphpadmin
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Databases
View previous topic :: View next topic  
Author Message
tekram



Joined: 07 Mar 2006
Posts: 5

Posted: Mon Sep 04, 2006 5:25 am    Post subject: dump database wo myphpadmin  

i can not log into myphpadmin because i installed another sql service that seems to have messed it up.so i am wondering if there is a wat to dump the db bc i want to reinstall apache?
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Wed Sep 27, 2006 8:17 pm    Post subject:  

Code: mysqldump -uUSERNAME -pPASSWORD DBNAME > backup.sql
or do a binary backup copy
Back to top  
cigraphics



Joined: 21 Aug 2005
Posts: 147
Location: Romania, Pitesti

Posted: Mon Nov 20, 2006 9:07 pm    Post subject:  

who knows how to make a script in php to do that so i don't need to write those commands i really need it for my website
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Tue Nov 21, 2006 8:08 pm    Post subject:  

here is your code
Code: exec()
in perl php and more
Back to top  
cigraphics



Joined: 21 Aug 2005
Posts: 147
Location: Romania, Pitesti

Posted: Tue Nov 21, 2006 9:24 pm    Post subject:  

i can use sytem() but i need the full code for that :(
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Databases
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group