Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mysql 8.0 #276

Open
wh0am111 opened this issue Dec 28, 2020 · 1 comment
Open

Mysql 8.0 #276

wh0am111 opened this issue Dec 28, 2020 · 1 comment

Comments

@wh0am111
Copy link

Can i use mysql 8.0?
is anyone use?

@godmode2k
Copy link

godmode2k commented Jan 11, 2021

You can use MySQL 8.x.

Follow the below if build failed for MySQL 8.x (MySQL 8.0.22, Ubuntu 20.04 LTS for me).
just replace 'my_bool' by 'int' then rebuild.

Note:
if you use gcc-9 then add "-fPIC" to CFLAGS into 'makefile.inc'.
like this:
CFLAGS := -Wall -Wno-strict-aliasing -Wno-uninitialized -g -rdynamic -std=gnu99 -fPIC
then, rebuild all.

MySQL 8.x: replace "my_bool" by "int"
file: utils/ut_mysql.c
my_bool reconnect = 1; -> int reconnect = 1;

that's it.
this works good for me.

you can also follow this:
ViaBTC build & HTTP-RPC API test guide
https://github.com/godmode2k/blockchain/tree/master/exchange/viabtc

I hope may this helps you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants