mysql_connect can't use @ in password

Discussion in 'PHP' started by IoWn3rU, Apr 1, 2010.

  1. #1
    Is there a way to allow the use of the @ symbol in the password of the mysql_connect syntax?
     
    IoWn3rU, Apr 1, 2010 IP
  2. koko5

    koko5 Active Member

    Messages:
    394
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    70
    #2
    There is no such limit for MySQL password.

    Regards :)
     
    koko5, Apr 1, 2010 IP
  3. nimonogi

    nimonogi Active Member

    Messages:
    398
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    80
    #3
    If password that includes special characters (like !,@,~...) is not accepted, most probably is your password handling code that blocking them.
     
    Last edited: Apr 1, 2010
    nimonogi, Apr 1, 2010 IP
  4. nabil_kadimi

    nabil_kadimi Well-Known Member

    Messages:
    1,065
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    195
    #4
    Hello

    mysql_connect() does not care about the password, please post the error description that your site returns.
     
    nabil_kadimi, Apr 1, 2010 IP
  5. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Works fine here - it's probably your code
     
    krsix, Apr 1, 2010 IP
  6. IoWn3rU

    IoWn3rU Peon

    Messages:
    420
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I fixed it, just changed the password and it worked. Thanks though guys!
     
    IoWn3rU, Apr 1, 2010 IP