|
#1
|
|||
|
|||
|
In the cpanel mysql-databases there is no script for changing the password of db-users. I suppose it can be done with a sql-query. But before you do that, you must be very sure that the syntax is correct.
|
|
#2
|
||||
|
||||
|
In the past when I have needed to change the password of the db-user I would just delete the user in the cPanel Database section and then add it back with the new password.
|
|
#3
|
|||
|
|||
|
I have considered that option. But the db-user I want to change the password from, has access to several databases. And I like to change the password every month. It would be a lot of work each month to set the rights for this user for every database.
|
|
#4
|
||||
|
||||
|
It would be a lot of work and if the password is stored in a connection file that would need to be changed as well. In any case, for a feature to be added to cpanel you should make the suggestion to cPanel at cPanel.net. HG doesn't have control over the cPanel options.
|
|
#5
|
||||
|
||||
|
You don't need to erase the user first. You can reset the password by just putting in the same username and a different password. This will leave the permissions on the specific databases as well.
|
|
#6
|
|||
|
|||
|
I have tried the suggestion of GatorCarl
and it works fine. Thanks ! |
|
#7
|
|||
|
|||
|
Quote:
"That mysql username is taken"
|
|
#8
|
||||
|
||||
|
This did work previously but it looks like with the 11.28 update, the username needs to be removed first and then re-added with the new password.
|
|
#9
|
||||
|
||||
|
Part of cPanel 11.28's marvellous "improvements" to eliminate its former insistence on dB name and username prefixes, no doubt.
Perhaps someone should pass this one along to cPanelDavid too. But I'm not sure there's anything they can actually do about it given the inevitable consequences of that underlying decision to allow dB names with no distinguishing prefixes on shared servers. |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Password change email? | nd4spd | Shared Hosting Support | 14 | 05-23-2008 10:47 PM |
| Cant change my password | Apocalypsse | Shared Hosting Support | 1 | 04-15-2008 02:55 AM |
| Change MySQL Password? | mjbanks | Shared Hosting Support | 5 | 11-01-2006 06:49 PM |
All times are GMT -5. The time now is 12:12 AM.










