This topic is locked

Publishing to server - Server database has different password

6/5/2026 17:03:45
PHPRunner General questions
A
AlphaBase author

I've finished developing the first phase of my application. I've been working on localhost. The server now has the same database as my local copy but with a different pasword. What do I have to do to make the PHPRunner Sever app use the server database with a different password?

ChatGPT 6/5/2026

To update your PHPRunner application to use a different database password on your server, you'll need to modify the database connection settings in your PHPRunner project. Here’s how to do that:

  1. Open Your PHPRunner Project:
    Launch PHPRunner and open your project that you have been working on.


  2. Go to Database Settings:
    In the left-hand menu, find and click on the “Database” section. This is where you can manage your database connections.


  3. Edit Database Connection:
    In the Database settings, you should see your current database connection details. Here, you will find fields for the database host, username, password, and database name.


  4. Update Password:
    Change the password field to the new password that corresponds to your server database.


  5. Test Connection:
    After updating the password, look for a “Test Connection” button or option. Click it to ensure that your application can connect to the server database with the new credentials. If the connection is successful, you’ll receive a confirmation message.


  6. Save Changes:
    Once the connection is tested successfully, make sure to save the changes in your PHPRunner project.


  7. Publish Your Application:
    After saving the changes, you will need to publish your application to the server. Use the “Build and Publish” option in PHPRunner to deploy your application with the updated connection settings.


  8. Check for Errors:
    After publishing, navigate to your application on the server and check to ensure everything is working correctly. Verify that data is being retrieved and modified as expected.



By following these steps, your PHPRunner application should now connect to the server database using the new password. If you encounter any issues, double-check the database connection settings and ensure that the server's database is accessible with the provided credentials.

Sergey Kornilov admin 6/6/2026

Proceed to the 'Output directory' folder, create a new server database connection and specify your server password there. Make sure that this new connection is selected when you build the project.

https://xlinesoft.com/phprunner/docs/output_directory_settings.htm#server