Computing.Net > Forums > Programming > Collation problems after mysql upgr

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Collation problems after mysql upgr

Reply to Message Icon

Name: ian_ok
Date: March 11, 2006 at 10:14:10 Pacific
OS: win xp 98 & 2k
CPU/Ram: p3 512
Comment:

the MYsql database version has been upgraded and now if a user logs in add a listing the listing is NOt added

You can view the d/b all Ok and the end user see no change just admin users/agents can't add listings.

On the d/b a new column has appeared 'Collation' and then in some of the fields rows it says: latin1_swedish_ci

I think this is the problem, but I don't know how to get it back to how it was before, it never had collation and I'm unsure what character setting it should be (if any!)

Any help pointers etc....

Thanks Ian

Venta Sanlucar Sales Sotogrande



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: March 11, 2006 at 20:40:21 Pacific
Reply:

It sounds like a new field was added to one of the database tables, although you wouldn't expect that from upgrading the mysql software. But if a table has a new field, there is a good chance that the insert statement (used during add functionality) will fail.

If that is the case, then the program doing the insert needs to be adjusted to account for the new field.


Be sure to come back and let us know if our suggestions helped!


0

Response Number 2
Name: ian_ok
Date: March 13, 2006 at 00:44:07 Pacific
Reply:

Yes for some reason it did insert a new column.

Anyhow I've managed to sort the problem out....I was thinking it was due to the character set being changed and this new field BUT it wasn't....

I've added some code to one of the files and the htaccess which has enabled gloabals.

Thanks Ian

Venta Sanlucar Sales Sotogrande


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Collation problems after mysql upgr

FindReplace problem www.computing.net/answers/programming/findreplace-problem/11455.html

flock() win98 ikonboard problem www.computing.net/answers/programming/flock-win98-ikonboard-problem/2263.html

PHP Problems www.computing.net/answers/programming/php-problems/10151.html