Skip to content
FREE & OPEN SOURCE Million Dollar Script is a free WordPress plugin for sponsor walls, campaign grids, fundraiser boards, and premium add-on workflows.

Installation

Unknown MySQL server host

Started March 26, 2015 by charlie

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.

2 replies

I'm using MySQL 5.5 where "3307" is a default port number.

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/22If 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