{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/32c43696a7c0a9afae7d8965b384817b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"32c43696a7c0a9afae7d8965b384817b","url":"https://api.github.com/users/monczao","login":"monczao","id":755892},"milestone":null,"labels":[],"updated_at":"2011-11-05T04:29:28Z","assignee":null,"comments":7,"closed_at":"2011-11-05T04:29:28Z","url":"https://api.github.com/repos/EllisLab/CodeIgniter/issues/644","body":"I came upon an error when I was trying to use the database library and using a die('here is a bug'); method found out that it was because db_set_charset() method in mysql_driver();\r\n\r\nwhen i removed @ from mysql_set_charset i got this error:\r\n\r\nFatal error: Call to undefined function mysql_set_charset() in C:\\usr\\apache\\htdocs\\teampittsburgh\\system\\database\\drivers\\mysql\\mysql_driver.php on line 148\r\n\r\nMy system:\r\nPHP version 5.2.5 (x64)\r\nMySQL version 5.0.19\r\n\r\nIn theory it should work in practice I spent a lot of time to find the cause:(\r\n\r\nP.S I'm talking about my localhost and I'm working on windows so maybe it's my machine problem idk?","html_url":"https://github.com/EllisLab/CodeIgniter/issues/644","number":644,"title":"db_set_charset() issue","id":2128307,"created_at":"2011-11-03T00:40:06Z"},"action":"closed"}