cannot recover the mysql database on the wampserver
I have a problem with recovering my saved database in wampserver which crushed but I had another copy of the www folder after reinstalling the wampserver I copied back the www folder in it.
now I cant access the database or its tables, any ideas as to why I can fix the problem?
I copied the www folder on the new installed wampsaver...I tried the import option on the Wampsaver GUI it cannot import. I get this error
default - character - SET = latin1default - COLLATION = latin1_swedish_ci
MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default-character-set=latin1
default-collation=latin1_swedish_ci' at line 1
The MySQL Server has a server character set and a server collation, which may not be null.
MySQL determines the server character set and server collation thus:
* According to the option settings in effect when the server starts
* According to the values set at runtime
At the server level, the decision is simple. The server character set and collation depend initially on the options that you use when you start mysqld. You can use --default-character-set for the character set, and along with it you can add --default-collation for the collation. If you don't specify a character set, that is the same as saying --default-character-set=latin1. If you specify only a character set (for example, latin1) but not a collation, that is the same as saying --default-charset=latin1 --default-collation=latin1_swedish_ci because latin1_swedish_ci is the default collation for latin1. Therefore, the following three commands all have the same effect:
One way to change the settings is by recompiling. If you want to change the default server character set and collation when building from sources, use: --with-charset and --with-collation as arguments for configure. For example: