Message board questions for help

Source: Internet
Author: User
Tags socket error
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.

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.