
Connect Stockra to your MySQL database. The installer will test the connection, write the configuration, and initialize the database.
What you see on this page
Database fields:
Server: Database host (commonly 127.0.0.1 or localhost)
Port: MySQL port (default 3306)
Database name: Your database schema name
Username: MySQL user
Password: MySQL password
Actions
Install: Starts the database setup process.
Progress indicator: Shows installation progress (e.g., “Installing database…” with a percentage).
How it works
When you click Install, the wizard performs these actions automatically:
Tests the database connection using the provided credentials.
Writes database configuration to the application environment.
Runs database setup (tables, schema, required seed data).
Typical user scenario
Create a MySQL database and user in your hosting control panel (or on your server).
Enter the database host, port, database name, username, and password.
Click Install.
Wait until the progress completes and the wizard moves forward.
Troubleshooting (common errors)
Access denied: Verify username/password and ensure the user has permissions on the selected database.
Unknown database: Confirm the database name exists.
Connection refused / timeout: Check host/port and confirm the database server is reachable from your web server.