Quantcast
Channel: What web developer needs? » MySQL
Browsing latest articles
Browse All 3 View Live

MySQL Database Character Set

Change DB charset – To show the current character set use this query: SHOW CREATE DATABASE `DB_NAME` ALTER DATABASE `database_utf8` CHARACTER SET ‘utf8′; ALTER DATABASE `database_utf8` COLLATE...

View Article



A script to change all tables and fields to the utf-8-bin collation in MYSQL

Method 1 ———————————– <?php // your connection mysql_connect(“localhost”,”root”,”***”); mysql_select_db(“db”); // convert code $res = mysql_query(“SHOW TABLES”); while ($row =...

View Article

Configuring mysql on Mac OSX Lion – mysql : command not found

This is annoying, I’ve had to make modifications to the path mysql.sock on different releases of Mac OSX. Not sure why they do this, but it’s annoying. Previously I would have to make a symlink to...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images