Ask a Question related to Dreamweaver AppDev, Design and Development.
-
chuckomalley #1
Proper SQL Synatx for an import
I have done a mysqldump of my online database to my PC, where I also have MySQL
running for testing purposes. I have my local database (chuckomalley) in the
C:\mysql\data\chuckomalley\ folder. I saved the dump file
(chuckomalleydump.sql) in the same folder. I want to use the mysqlimport
function to restore the dump into my local database so that my tables are
syncronized with my live database (My host provider will now allow live
replication for security purposes.) What is the proper syntax for getting the
dump file to populate the tables? I have the dump file with drop table options
already in the file so it is a matter of using the right syntax to populate it
correctly. I checked the mysql manual (section 2.10.8) but nothing works
(keeps giving me a syntax error.) I used PHP My Admin to create the dump file
but I do not have PHP My Admin on my local PC. And to be honest, I'd rather
learn the code instead of using a GUI. Thanks in advance. Cheers Chuck
chuckomalley Guest
-
Proper way to do modules
Hi all, What's the proper way to create a module in the Flex editor and have it referenced by other applications? specifically, when i make a... -
this isn't really the proper forum but...
it seems like this forum is a magnet for a lot of people, from different backgrounds that know the ins and outs of design,printing,etc, so i'm going... -
Proper way to resize
My image off the digital camera comes in at 26.667 x 35.556, resolution 72. Document size 14.1 MB What is the best way and in what order to bring... -
proper name for one who uses ruby
I've seen two: Rubyist and Rubicon. Which is correct? -Kurt -
What is a proper way to set up smtp
You may have to add the IP address of the server in the relay restrictions: - Go to Control Panel, Administrative Tools, IIS - Right click on... -
Michael Fesser #2
Re: Proper SQL Synatx for an import
.oO(chuckomalley)
I usually do it with the 'mysql' command:>What is the proper syntax for getting the
>dump file to populate the tables? I have the dump file with drop table options
>already in the file so it is a matter of using the right syntax to populate it
>correctly.
mysql -uUsername -pPassword Database < dump.sql
Micha
Michael Fesser Guest
-
chuckomalley #3
Re: Proper SQL Synatx for an import
BINGO! That did the trick. Thanks.
Cheers
Chuck
chuckomalley Guest



Reply With Quote

