Unknown MySQL server host

Million Dollar Script Forums Installation Unknown MySQL server host

This topic contains 2 replies, has 2 voices, and was last updated by  Ryan 2 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2271

    charlie
    Participant

    Hi, after filling db data form during installation, i get: Unknown MySQL server host ‘sql.my_site_adress.com:3307’ (2)
    I always add a port number when installing anything on my hosting, if i’m not adding a port number then i get: Access denied for user ‘my_db_user’@’xx.xxx.xx.xx’ (using password: YES)
    What’s wrong? Please help.

    #2272

    charlie
    Participant

    I’m using MySQL 5.5 where “3307” is a default port number.

    #2273

    Ryan
    Keymaster

    Hi there,

    I’ve never tried it on a non-default MySQL port. I’m not sure if it’ll work the way you’re trying to do it.

    I will add an option to specify the port. I’ve created an issue here: https://github.com/MillionDollarScript/MillionDollarScript/issues/22

    If you would like to add the port you will have to modify /include/database.php on the 2 mysqli_connect options and add the port after the password and that might work for you.

    Ryan

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.