Mysql server could not be reached

Discussion in 'Installation/Configuration' started by Danielss89, Jan 10, 2007.

  1. Roger Huston

    Roger Huston New Member

    Can you let me know what you did to get this to work. I am having the same problem and I can connect via the database using "mysql -u root -p"

    - Roger
     
  2. Roger Huston

    Roger Huston New Member

    I figured it out. During my installation I used some [email protected]# characters in my MySQL password. While it allows me to login using mysql - u root -p and typing the password in the line, when used in scripts I get a command line substitution that will break the script.

    This is easy to see, when you enter your mysql password on the command line using mysql -u root -pZAQ!2wsx for example. Hit the up arrow to see if the password is the same in your history. If not, you have a problem.

    Once I was able to change the root password using [A-Z][a-z][0-9] characters only, the install went perfectly.

    -Roger
     

Share This Page