Skip to content

How can I use a database in another server? #6

@Rocking80

Description

@Rocking80

I only changed connectDB.php file with the database IP and credential, seems not work.
the register.php can be displayed in the page, but when I finished the form and submit the page show error. I tried to change the servername in register.php file, and also the new user cannot be inserted in the database.

          $servername = "192.168.0.47";
          $username = "root";
          $password = "xxxxxxxx";

Could you please update all the page code to use outer database?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions