So, I have a WHM installed on CENTOS and want to create a database using SSH
What I have found is these Commands but
When I enter the first command it shows like this
“/usr/local/cpanel/cpanel” exited with status 1 (EPERM). at bin/apitool.pl line 161.
uapi --user=username Mysql create_database name=newdb
uapi --user=username Mysql create_user name=dbuser password=12345luggage
uapi --user=username Mysql set_privileges_on_database user=dbuser database=mydb privileges=DELETE,UPDATE,CREATE,ALTER
What I have found is these Commands but
When I enter the first command it shows like this
“/usr/local/cpanel/cpanel” exited with status 1 (EPERM). at bin/apitool.pl line 161.
uapi --user=username Mysql create_database name=newdb
uapi --user=username Mysql create_user name=dbuser password=12345luggage
uapi --user=username Mysql set_privileges_on_database user=dbuser database=mydb privileges=DELETE,UPDATE,CREATE,ALTER