Re: Newby needs some help - collation/charset ?
Curious....If I execute the entire insert command that is failing through MySQL Workbench it works correctly....
Rick James Wrote:
-------------------------------------------------------
> > `install_date` varchar(10) DEFAULT NULL,
>
> (unrelated to charset problem) There is a DATE
> datatype -- this would let you do SQL comparisons
> between dates. See also DATETIME and TIMESTAMP.
>
> > ENGINE=MyISAM AUTO_INCREMENT=57 DEFAULT
> CHARSET=utf8'
>
> OK, the columns are utf8.
> (Unrelated to the charset issue: InnoDB is
> preferred over MyISAM.)
Quick off-topic question, is it possible to just convert the dB to InnoDB and the forum will work?
>
> > There appears to be an error with the
> widgets.com database.
>
> Alas, the 3rd party software seems to be hiding
> useful information from us. Complain to them.
This I don't understand. MySQL errors used to display, and in in fact I got one to display by trying to post something way too long into the forum for datatype TEXT. I got the same MySQL error box but this time with the entire insert statement and, at the very end, the reason for the failure. So I'm not sure why, in this area of the forum, I get no error message. I have complained to them but they are AWOL which is why I'm here :)
>
> > 'Erzeuge deine eigenen BBCodes und Buttons im
> ACP und speichere sie in der Datenbank'
> > I'll look into the above shortly (as best I can
> :)
>
> Find a row with an accented letter in the middle,
> preferably with a short text string.
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.
As you know, I'm no expert in any of this but what this says to me is that the SQL statement is OK, and content of the statement is also OK (whether or not it has funny characters or text it inserts fine through MySQL Workbench).
My guess is that this leaves us with a .php issue. Note that this php page used to work with previous PHP releases. SO I think we're narrowing it down unless my testing methodology is flawed (the SQL query working when directly entered)
I used to be on 5.3.24 and I've confirmed the php file works, now on 5.4.14 and nada....
Subject
Written By
Posted
December 14, 2013 01:08PM
December 15, 2013 04:19AM
December 16, 2013 05:25PM
December 16, 2013 07:35PM
December 16, 2013 08:48PM
December 16, 2013 10:07PM
December 17, 2013 05:19PM
December 18, 2013 01:02AM
December 18, 2013 01:36PM
Re: Newby needs some help - collation/charset ?
December 18, 2013 03:34PM
December 18, 2013 05:10PM
December 18, 2013 05:37PM
December 18, 2013 06:28PM
December 20, 2013 01:09PM
December 20, 2013 03:24PM
December 20, 2013 03:37PM
December 20, 2013 06:59PM
December 20, 2013 09:20PM
December 21, 2013 12:55AM
December 21, 2013 01:31AM
December 21, 2013 02:12AM
December 21, 2013 02:49AM
December 21, 2013 01:11PM
December 22, 2013 04:04PM