Answers for "how to connect wordpress site to database"

SQL
3

how to access wordpress database

# Download the phpmyadmin plugin 
link-
https://wordpress.org/plugins/wp-phpmyadmin-extension/

or 
Search in plugin "phpmyadmin"
Posted by: Guest on February-26-2021
0

connect another database in wordpress

function connect_another_db() {
    global $seconddb;
    $seconddb = new wpdb(USERNAME, PASSWORD, DATABASE_NAME, HOSTNAME);
}
add_action('init', 'connect_another_db');
Posted by: Guest on August-09-2021

Code answers related to "how to connect wordpress site to database"

Code answers related to "SQL"

Browse Popular Code Answers by Language