Skip to content

Help! Website's Connection To The Database Server Lineage?

Featured Replies

 how to make website's connection to the database server lineage?

By putting the right parameters into the right object ($con = new \PDO(...) or $con = new \mysqli(...)), and don't use the mysql_* functions (in case you don't like PDO)... this extension is deprecated and replaced by mysqli.

 

Google these two php extensions and you will find out how to connect. :lol:

Edited by Tessa

after that tessa said go in navicat open your connection add a user with ip % (wildcard) or better your website IP add user/password and with this information stored in PDO connection (that i suggest) your site will be able to connect to your database, then you have to add priviledges to the user of what he will use

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.