Laravel Nova MySQL Server Management to do:
- Create new database
- Delete database
- Repair database
- Add new user
- Delete user
- Change user password
- Add user to database
- Revokes user from database
You can install the package in to a Laravel app that uses Nova via composer:
composer require naif/nova-mysql
Add the below to app/Providers/NovaServiceProvder.php
public function tools()
{
return [
new NovaMysql()
];
}
Add the below to your .env file
CPANEL_HOST=YOUR_CPANEL_HOST_IP
CPANEL_DOMAIN=YOUR_DOMAIN_WITHOUT_HTTPS
CPANEL_PORT=MYSQL_PORT default 2083
CPANEL_USERNAME=YOUR_WEB_HOSTING_USERNAME
CPANEL_PASSWORD=YOUR_WEB_HOSTING_PASSWORD
CPANEL_PREFIX=YOUR_CPANEL_PREFIX prefix_DatabaseName
https://www.linkedin.com/in/naif
The MIT License (MIT). Please see License File for more information.