For help on the message board, first ask a question about garbled text,
In my. [client] default-character-set = utf8 [mysqld] default-character-set = utf8 is set in ini, and wamp is restarted. phpmyadmin cannot be connected, is #2002 that Socket Error prompt, then I will put my. the ini modification was changed back, or the connection failed. (can I cancel the modification ?? Problem 1) change localhost to 127.0.0.1 to restore normal
Question 2: After the above operations
Last question
1. conn file
2. input file
3. write file
"; Echo""; Echo""; Echo"Title:
"; Echo"
User:
"; Echo"
"; Echo""; Echo"Content:
"; Echo""; Echo""; Echo"
";}// Pagination link echo""; For ($ I = 1; $ I <$ pages; $ I ++) echo" $ I $ nbsp; "; echo"
";?>
All points offered
Reply to discussion (solution)
Mysql_query ("select count (*) as c from easy") or die (mysql_error (); // What error is reported
1. do not change the configuration information without any unknown consequences.
2. database services are public. any overall configuration changes will inevitably affect the use of other applications.
3. any change in configuration information will only affect the performance after the change. However, changing the data stored before the time may cause problems.
4. some people say that when ALTER is used to change a character set, the character set of the content can be converted at the same time. But at least not in mysql I use.
We recommend that you restore the original configuration file to solve the problem.
It is correct to set the character set of a field and use the set names command in a timely manner.
Because your project is likely to run in an existing environment. If the program depends on external configurations, the consequences can be imagined.