Tag Archives: mysql

How to access another Database in WordPress

by in on

wpdb is the class that helps you to manipulate the database in WordPress. But you can not access it directly, you have to use the global object $wpdb to manipulate the database. The Database configuration is stored in wp-config.php during installation process. Highlighted like this


Convert CHARACTER SET in mysql

by in on

To convert the database into different character set is easy with a single line command, if you want to convert only the database character set just follow the command: