SQL Setup Troubles

15 views
Skip to first unread message

Leanna C.

unread,
Jan 19, 2019, 3:46:58 AM1/19/19
to tinymux
I can't seem to get sql working on tinymux. Steps I've done so far:

In src folder:
./configure --enable-inlinesql --enable-realitylvls 
make depend
make
In the src/modules folder:
./configure
make
 
Added to netmux.conf:
sql_database username_muxtest
sql_server IPishere
sql_user username_muxtest
sql_password passwordishere

Then @restarted in the game.


I checked the logfile and saw this:

 2019.0119:011848 Eventide INI/LOAD : Couldn’t create interface to Query Server.

Checked the function to see if it worked anyway:
think [sql()]
#-1 FUNCTION (SQL) NOT FOUND

@query
Query server is not available.

Everything seems to be in the right spot:
checking for location of SQL header files... /usr/include/mysql
checking for location of SQL library files... /usr/lib/mysql

I think I must be missing something... Does anything stick out?

Jace Hoppel

unread,
Jan 19, 2019, 5:56:06 AM1/19/19
to tin...@googlegroups.com
Make sure you have the mysql development packages.

Depending on the distro it could be:

Mariadb-devel, mysql-dev, mysqlclient-dev, and so forth.

Basically grab the dev packages that match your runtime libs.

--Ash

--

---
You received this message because you are subscribed to the Google Groups "tinymux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinymux+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stephen Dennis

unread,
Jan 19, 2019, 9:04:13 AM1/19/19
to tin...@googlegroups.com
And, --enable-stubslave

Leanna C.

unread,
Jan 21, 2019, 1:34:37 PM1/21/19
to tinymux
Got it working, thank you!
Reply all
Reply to author
Forward
0 new messages