Overview
Loupp provides comprehensive database management capabilities, allowing you to create, configure, and manage multiple databases and users on your servers. Each server can host multiple databases with different access permissions and configurations.Database Management
Creating a New Database
1
Access database management
Navigate to your server dashboard and click on the “Databases” tab to access the database management interface.
2
Configure database details
Fill in the database configuration:
- Database Name: Choose a unique name for your database (alphanumeric and dashes only)
- Default Database: Optionally set this as the default database for the server
3
Create database
Click “Create Database” to begin the automated setup process.
Database Configuration
When you create a database, Loupp automatically:- Creates Database: Sets up the database with proper permissions using the server’s configured SQL version (MySQL, MariaDB, or PostgreSQL)
- Configures Access: Sets up root access and user permissions
- Optimizes Settings: Applies performance and security optimizations
- Integrates with Applications: Makes the database immediately available for your web applications
Databases are created using the server’s configured SQL version (MySQL, MariaDB, or PostgreSQL) and are immediately available for use.
Database User Management
Creating Database Users
1
Configure user details
Set up the database user with the following information:
- Username: Choose a unique username for database access (alphanumeric and dashes only)
- Password: Set a secure password for the user
- Host: Specify the host from which the user can connect (defaults to ‘localhost’)
2
Create user
Click “Create User” to create the database user account.
User Permissions
Database users are created with comprehensive permissions based on the database type:- MySQL/MariaDB Users: Full privileges on all databases (
GRANT ALL ON *.*) - PostgreSQL Users: Full administrative privileges including
CREATEDB,CREATEROLE,REPLICATION, andBYPASSRLS
Database Operations
Available Actions
Create
Create
Add new databases and users to your server with automatic configuration.
Delete
Delete
Remove databases and users that are no longer needed (with safety checks).
Download/Export
Download/Export
Export databases for backup or migration purposes.
Set Default
Set Default
Designate a database as the server’s default database.
Database Deletion
When deleting databases:- Safety Checks: Loupp prevents deletion of default databases
- Minimum Database Protection: Ensures at least one database remains on the server
Database User Deletion
When deleting database users:- Minimum User Protection: At least one database user must remain on the server
- System User Protection: The ‘loupp’ system user cannot be deleted
- Connection Impact: Active connections using the deleted user will be terminated
- Application Dependency: Ensure no applications rely on the user before deletion
Database Download/Export
Loupp provides database export functionality:- Automated Export: Uses mysqldump to create SQL exports
- Compression: Automatically compresses exports using gzip
- Email Delivery: Sends download links via email for security
- Auto-Cleanup: Automatically removes exported files after 5 minutes
Setting Default Database
You can designate any database as the server’s default:- Single Default: Only one database can be default at a time
- Application Integration: Default databases are prioritized for application connections
Database Integration
Database Connection URL
Loupp provides a convenient database connection URL that you can use with any database client or application:- Connection URL: A pre-formatted connection string for your database
- Database Client Support: Compatible with popular database management tools like:
- MySQL Workbench
- phpMyAdmin
- DBeaver
- TablePlus
- Command line clients
- Secure Access: Uses your configured database credentials
- Immediate Availability: Available as soon as your database is created
Application Integration
Databases created in Loupp are automatically available to be used in your projects:Using the Connection URL
- Copy the URL: From the “Database Connection Url” section in your server dashboard
- Database Client: Paste the URL into your preferred database management tool
- Enter Password: Manually enter your loupp user password when prompted
- Connect: Establish the connection to manage your database
Security and Access Control
Troubleshooting
Common Database Issues
Connection Refused
Connection Refused
- Check if the database service is running
- Verify firewall rules allow database connections
- Confirm database user credentials are correct
Permission Denied
Permission Denied
- Verify user permissions are properly configured
- Check if the user has access to the specific database
- Ensure the user can connect from the specified host
Database Not Found
Database Not Found
- Confirm the database name is spelled correctly
- Check if the database was successfully created
- Verify the database exists on the server
Cannot Delete Database
Cannot Delete Database
- Ensure the database is not set as default
- Verify at least one other database exists on the server
- Check if any applications are actively using the database
Cannot Delete User
Cannot Delete User
- Ensure at least one database user remains
- Verify the user is not the protected ‘loupp’ system user
- Check if the user has active database connections
Successfully created databases are immediately available for use by your web applications with proper security and performance optimizations. The system supports MySQL, MariaDB, and PostgreSQL with automatic configuration and management.