A script to change all tables and fields to the utf-8-bin collation in MYSQL (This article is from http://stackoverflow.com/questions/105572/a-script-to-change-all-tables-and-fields-to-the-utf-8-bin-collation-in-mysql) <?php set_time_limit(0); function MysqlError() { if (mysql_errno()) { echo “<b>Mysql Error: ” . mysql_error() . “</b>\n”; } } $username = “root”; $password = “”; $db = “database”; $host = “localhost”; $target_charset = “utf8”; $target_collate =…