AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved SQLX Problem (https://forums.alliedmods.net/showthread.php?t=299435)

DarthMan 07-14-2017 12:21

SQLX Problem
 
Hello. How can I change the default database type on AMXX from MariaDB to mysql?
I have tried everything, even #pragma defclasslib sqlx mysql but the database is always set to MariaDB. I can assure you that I have no custom plug-ins from the web, and nothing changes the database. Everything I have are custom plug-ins made by me. Thanks !

klippy 07-14-2017 12:39

Re: SQLX Problem
 
AMXX doesn't even have a MariaDB driver. As far as I know, MariaDB is backwards-compatible with MySQL, so a MySQL driver should be fully functioning when talking to a MariaDB database. What do you mean by "the database is always set to MariaDB"?

DarthMan 07-14-2017 12:48

Re: SQLX Problem
 
Quote:

Originally Posted by KliPPy (Post 2535303)
AMXX doesn't even have a MariaDB driver. As far as I know, MariaDB is backwards-compatible with MySQL, so a MySQL driver should be fully functioning when talking to a MariaDB database. What do you mean by "the database is always set to MariaDB"?

Well, nope, it was an error in my code. Actually the tabe had to be player_models and not Player Models. My mistake. Works now :)


All times are GMT -4. The time now is 23:10.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.