Mantis 1.2.1 with Mysql on port 3316
Posted: 06 May 2010, 19:47
I do not have root access to the database so I have to connect to an already existing database. The Database (Mysql 5) is created on Port 3316 instead of the standard port. However, Mantis reports Unknown MySQL server host 'localhost:3316' using both mysql or Mysqli.
I cannot get past the first screen.
THe database is working I can connect from phpMyAdmin without problem using the username and password so I don't understand what is happening here at all.
I have also tried making a simple config_inc.php with
$g_hostname = 'localhost:3316';
$g_db_username = 'dbo328703606';
$g_db_password = 'xxxxxx';
$g_database_name = 'db328703606';
$g_db_type = 'mysql';
i get Access denied for user: 'dbo328703606@localhost' (Using password: YES)
with
$g_db_type = 'mysqli';
I get
SYSTEM WARNING: mysqli_real_connect() [function.mysqli-real-connect]: (HY000/2005): Unknown MySQL server host 'localhost:3316' (1)
I am confused. Can anyone help here?
I cannot get past the first screen.
THe database is working I can connect from phpMyAdmin without problem using the username and password so I don't understand what is happening here at all.
I have also tried making a simple config_inc.php with
$g_hostname = 'localhost:3316';
$g_db_username = 'dbo328703606';
$g_db_password = 'xxxxxx';
$g_database_name = 'db328703606';
$g_db_type = 'mysql';
i get Access denied for user: 'dbo328703606@localhost' (Using password: YES)
with
$g_db_type = 'mysqli';
I get
SYSTEM WARNING: mysqli_real_connect() [function.mysqli-real-connect]: (HY000/2005): Unknown MySQL server host 'localhost:3316' (1)

I am confused. Can anyone help here?