ERROR: trying to build BOINC-server, but MYSQL was not found.

Message boards : Server programs : ERROR: trying to build BOINC-server, but MYSQL was not found.
Message board moderation

To post messages, you must log in.

AuthorMessage
danc2050

Send message
Joined: 11 Jul 21
Posts: 2
Message 104769 - Posted: 11 Jul 2021, 7:16:11 UTC
Last modified: 11 Jul 2021, 7:23:47 UTC

Trying to set up a boinc server on Ubuntu 20.04 on Google Cloud Platform and I get this error with no real explanation/ways to fix it:

# ./configure --disable-client --disable-manager | grep -ni "mysql"
128:checking for mysql_config... no
configure: error:
================================================================================
ERROR: trying to build BOINC-server, but MYSQL was not found.

If you do not want to build the server you should use --disable-server.

================================================================================



I do indeed have MYSQL installed on the computer as I was able to complete the previous steps. Any help is appreciated, thanks!
ID: 104769 · Report as offensive     Reply Quote
Bryn Mawr
Help desk expert

Send message
Joined: 31 Dec 18
Posts: 160
United Kingdom
Message 104770 - Posted: 11 Jul 2021, 12:08:33 UTC - in response to Message 104769.  

Trying to set up a boinc server on Ubuntu 20.04 on Google Cloud Platform and I get this error with no real explanation/ways to fix it:

# ./configure --disable-client --disable-manager | grep -ni "mysql"
128:checking for mysql_config... no
configure: error:
================================================================================
ERROR: trying to build BOINC-server, but MYSQL was not found.

If you do not want to build the server you should use --disable-server.

================================================================================



I do indeed have MYSQL installed on the computer as I was able to complete the previous steps. Any help is appreciated, thanks!


Which version of MySQL do you have, which version is the build expecting?

Search your drive for mysql_config and compare its location to the value in the build control file.
ID: 104770 · Report as offensive     Reply Quote
danc2050

Send message
Joined: 11 Jul 21
Posts: 2
Message 104773 - Posted: 11 Jul 2021, 19:30:50 UTC - in response to Message 104770.  

The MYSQL_CONFIG environment variable was not set. On Ubuntu 16 it is `/usr/bin/mysql_config` and perhaps on ubuntu 20.04 it is `/usr/bin/mysql_config_editor`. I rolled back to Ubuntu 16 because that is likely more supported. Thank you.
ID: 104773 · Report as offensive     Reply Quote

Message boards : Server programs : ERROR: trying to build BOINC-server, but MYSQL was not found.

Copyright © 2021 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.