View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021705 | mantisbt | upgrade | public | 2016-09-20 14:29 | 2016-09-30 14:40 |
Reporter | SAE-IT | Assigned To | dregad | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 1.3.1 | ||||
Summary | 0021705: APPLICATION ERROR #400 after upgrading from 1.2.19 | ||||
Description | I upgraded following the available instructions here https://www.mantisbt.org/docs/master-1.3.x/en-US/Admin_Guide/html-desktop/#admin.install.upgrade Initially I got a couple errors from /admin/check/index.php but got fixed (mbstring missing and g_salt unconfigured) Now I am keep getting this error: Database connection failed. Error received from database was 0001045: Access denied for user 'mantis'@'localhost' (using password: YES). I can login to mysql by using this username and the adequate password. When trying the /admin/install.php the usernames and password that appear are correct. | ||||
Additional Information | Ubuntu Xenial 16.04 | ||||
Tags | No tags attached. | ||||
SAE-IT, Is Mantis located on the same server as the database ? This is not a bug or feature request for MantisBT (you are asking for help on how to configure the system). I am therefore resolving this issue as "no change required". Please use the forums, the mantisbt-help mailing list or IRC to get support on customizing and using MantisBT (refer to http://www.mantisbt.org/support.php for links and further details). |
|
Thanks for your reply dregad. The sql server is on the same machine as Mantis. As I wrote tough (in contrast with your suggested reading link) the mantis user is able to connect to mysql and issue the commands that he has granted. |
|
Based on the error message you're getting, it obviously is not... How are you making your successful connection ? command-line ? Check the output of select user, host from mysql.user, and compare that with how you've setup your db connectivity in config_inc.php. Try to establish a connection from a simple PHP script with ADOdb[1] and run that from the same web server as your Mantis. [1] http://adodb.org/dokuwiki/doku.php?id=v5:reference:connection:connect#usage |
|
yes the successful connection is with terminal. I can connect with php scripts as well (such the one you provided). |
|