Jump to content
  • 0

Change wisecp database credentials




I use DirectAdmin and I renamed the account that wisecp is installed on, so the database names and users were updated to the new account, so now I'm receiving the following database connection error:

Code: 1045
File: /home/new_username/domains/mydomain.net/public_html/coremio/classes/Database.php

SQLSTATE[HY000] [1045] Access denied for user 'old_username_wisecpusername'@'localhost' (using password: YES)


I edited the /coremio/configuration/database.php file, but the username and password seem to be hashed.

Is there a way to update the username and password on an existing site?

Thanks in advance.


Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0


Thought there might be a menu item in the configuration menu of Wisecp that could allow me to change the database name/credentials so I temporarily created a database and user with the old names and credentials and dumped into it a copy of the database and as expected, the site loaded, but can't find a place to change the database name.

Is there an utility or something that would allow me to change the current database name and or credentials?


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...