Database Connectivity in wordpress site


Recommended Posts

Please Follow the steps to configure your database in wordpress site

you have to create a database first from your Web Hosting provider then fill this up from your wp-config.php:/** The name of the database for WordPress */define('DB_NAME', 'databasename');/** MySQL database username */define('DB_USER', 'user');/** MySQL database password */define('DB_PASSWORD', 'password');/** MySQL hostname */define('DB_HOST', 'localhost');

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.