SOLVED Database Map tool via command line

bmett

Well-Known Member
Aug 5, 2010
71
1
56
Brisbane, AU
Hi there,

I need to map a large amount of databases and database users to the correct cPanel accounts (several hundred accounts). I'm aware that I can map those one by one via the WHM Database Map Tool, but that would take me forever.

Is there a command line script I can use for this purpose, so I can create a bash script doing the mapping for me? The databases and database users all follow the same naming convention, therefore a batch mapping script should be easy to create, but I don't know if there is a command line script that maps databases/database users to cPanel accounts.

Cheers.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
  • Like
Reactions: bmett