Skip to content

Connection not attempted, no error #146

@crosscoder1

Description

@crosscoder1

Info :
Gmod 32 bit server
MariaDB Server v10.6.22
mysqloo 9.76, 9.8 beta2, and self compiled from git
Ubuntu 22.04.5 LTS

Since I don't see any other issues like this in the bug tracker or through my searches, I am guessing this may not be a bug with the library, but I have tried everything else I can think of.

I have an addon I've been attempting to set up to use mysqloo but couldn't get it to connect. The module appears to be loaded since I can do lua_run with the mysqloo include without error. To troubleshoot, I took the example connection script and placed it in the server autorun folder. When the script is executed, I see that the line to connect to the database is processed without error, but no callback is processed. When I do this, there are players connected to the server so it's not hibernating. Further, I put MariaDB in verbose general log mode and it never shows a connection attempt from the Garrysmod script. However, if I connect with the mysql-client either by TCP or socket, those are logged. I've tried several versions of mysqloo and even compiled the latest from git directly on the server just in case.

Hopefully it's just something stupid I am overlooking. Any suggestions would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions