Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: Jimmkos - kesäkuu 29, 2019, 02:26:11 IP

Otsikko: Problem with external question
Kirjoitti: Jimmkos - kesäkuu 29, 2019, 02:26:11 IP
Hello all,
a friend of mine is running a smf forum.
Im trying to to connect with his database from my own server (Windows) with asp scripting but Im always getting the following error

[MySQL][ODBC 5.3(w) Driver]Unknown character set: 'utf8mb4'

The connection string Im using is the following

Driver={MySQL ODBC 5.3 UNICODE Driver}; Server=<IP>; uid=<Username>; pwd=<Password>; database=<database>; option=3; port=3306;

Can anyone tell me whats wrong?

Thank you for your time!
Otsikko: Re: Problem with external question
Kirjoitti: Jimmkos - kesäkuu 29, 2019, 02:27:15 IP
The title should be "Problem with external server"

My bad, Im sorry.
Otsikko: Re: Problem with external question
Kirjoitti: Kindred - heinäkuu 04, 2019, 01:08:50 IP
I don't believe that SMF supports that sort of connection....

Also, running two sites, with different connections on the same database just won't work... ever
Otsikko: Re: Problem with external question
Kirjoitti: Jimmkos - heinäkuu 06, 2019, 05:46:55 IP
Can you show me a connection sample smf is using?
Otsikko: Re: Problem with external question
Kirjoitti: Kindred - heinäkuu 06, 2019, 07:29:22 IP
well, it's not actually an SMF issue... it's an issue with your server(s) and the versions they are using

https://stackoverflow.com/questions/21911733/error-1115-42000-unknown-character-set-utf8mb4
Otsikko: Re: Problem with external question
Kirjoitti: Jimmkos - heinäkuu 06, 2019, 07:55:39 IP
When saying "versions", you mean smf ones?
Otsikko: Re: Problem with external question
Kirjoitti: GigaWatt - heinäkuu 06, 2019, 10:07:24 IP
No, he means the MySQL version on the server ;).

A quote from the link Kindred shared.

LainaaYour version does not support that character set, I believe it was 5.5.3 that introduced it. You should upgrade your mysql to the version you used to export this file.
Otsikko: Re: Problem with external question
Kirjoitti: Jimmkos - heinäkuu 09, 2019, 05:22:55 AP
Thank you all