moving a mantisbt installation to a hosted server

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
gillivt
Posts: 3
Joined: 06 Jul 2017, 12:07

moving a mantisbt installation to a hosted server

Post by gillivt »

I have just moved a working copy of mantibt from a local pc to an external hosting service.

i created a sub domain for it, copied all the files via ftp to the new hosting service.

I used phpmyadmin to create an sql script locally and then imported it into a new database on my hosting server.

I made the changes on the server version of config_inc.php so that it pointed at the new database.

I am getting an error when I try and run it:


APPLICATION ERROR #400
Database connection failed. Error received from database was #2003: Can't connect to MySQL server on 'http' (111).
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

It looks like it doesn't like my database connections settings, but I think they are correct.

the database name has changed from bugtracker to 1470111_bugtracker, the username has changed from root to 1470111_bugtracker and my host name changed too. I made the changes in config_inc.php.

is there anywhere else I need to make any changes?
gillivt
Posts: 3
Joined: 06 Jul 2017, 12:07

Re: moving a mantisbt installation to a hosted server

Post by gillivt »

I found the answer,

i entered my host name with https:// infront of it, but it did not need the prefix.
Post Reply