Raised This Month: $ Target: $400
 0% 

Solved SQLX Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 07-14-2017 , 12:21   SQLX Problem
Reply With Quote #1

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 !

Last edited by DarthMan; 07-14-2017 at 12:48. Reason: Solved
DarthMan is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 07-14-2017 , 12:39   Re: SQLX Problem
Reply With Quote #2

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"?

Last edited by klippy; 07-14-2017 at 12:39.
klippy is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 07-14-2017 , 12:48   Re: SQLX Problem
Reply With Quote #3

Quote:
Originally Posted by KliPPy View Post
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
DarthMan is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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