MySQL Forums
Forum List  »  PHP

Re: Newby needs some help - collation/charset ?
Posted by: Rick James
Date: December 18, 2013 05:10PM

> Quick off-topic question, is it possible to just convert the dB to InnoDB and the forum will work?

I don't know specifics about that software, but it is very likely that it will be oblivious to the change.
ALTER TABLE foo ENGINE=InnoDB;

> This I don't understand. MySQL errors used to display

Sorry, can't explain that.

> Here's the thing, the SQL INSERT command that it coughs on when running through the web browser (PHP) actually works fine when directly entered via MySQL workbench.

Possibly a character set difference during the connection.

> I used to be on 5.3.24 and I've confirmed the php file works, now on 5.4.14 and nada....

Which interface are you using? mysql_? mysqli_? PDO? You move away from mysql_ if that is what you are using. In particular, note:
mysql_set_charset, versus
mysqli_set_charset

Options: ReplyQuote


Subject
Written By
Posted
Re: Newby needs some help - collation/charset ?
December 18, 2013 05:10PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.