SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 26/01/2015, 11:52 PM   #391
PaulDinam
Gangsta
 
Join Date: Jun 2011
Posts: 893
Reputation: 45
Default Re: MySQL & PostgreSQL Plugin

Your mscv100 dll is corrupted. Might be mscv100d as well as I literally had the same problem and a dll fixer got everything back in place.
PaulDinam is offline   Reply With Quote
Old 28/01/2015, 05:30 PM   #392
Anarkien
Huge Clucker
 
Join Date: May 2008
Posts: 332
Reputation: 8
Default Re: MySQL & PostgreSQL Plugin

MongoDB support, please!
Anarkien is offline   Reply With Quote
Old 08/05/2015, 09:46 AM   #393
Blacklite
Huge Clucker
 
Join Date: Mar 2009
Location: am kiwi
Posts: 420
Reputation: 45
Default Re: MySQL & PostgreSQL Plugin

Getting compile errors:

http://pastebin.com/ppnSza1t

Any ideas?
__________________

Blacklite is offline   Reply With Quote
Old 09/05/2015, 12:51 PM   #394
Akmet
Little Clucker
 
Join Date: Feb 2009
Posts: 45
Reputation: 0
Default AW: MySQL & PostgreSQL Plugin

fixed by myself

Last edited by Akmet; 09/05/2015 at 04:44 PM.
Akmet is offline   Reply With Quote
Old 15/05/2015, 02:55 AM   #395
Blacklite
Huge Clucker
 
Join Date: Mar 2009
Location: am kiwi
Posts: 420
Reputation: 45
Default Re: MySQL & PostgreSQL Plugin

These errors:

Code:
include/boost/atomic/atomic.hpp:202:16: error: 'uintptr_t' was not declared in this scope
Are related to this issue with boost:

https://svn.boost.org/trac/boost/ticket/8731

I applied that change to the boost lib in the plugin source and was able to compile successfully. If you can't be bothered, here is the full fixed version of include/boost/cstdint.hpp:

http://pastebin.com/h6AfwuUq
__________________

Blacklite is offline   Reply With Quote
Old 03/08/2015, 10:21 AM   #396
Patrick
Guest
 
Posts: n/a
Default Re: MySQL & PostgreSQL Plugin

Is there any reasons why it doesn't connect? I am just continuing a script that uses this plugin and I have never used this script + there's no more documentation of this script about the errors and other stuff.

Code:
[10:48:37][info] Natives::sql_connect: Connecting to database (type = 1) samp5391:***@5.39.74.166:0/samp5391_autoarena...
[10:48:38][warning] Natives::sql_connect: Connection (conn->id = 1) failed! (error = 2003, Can't connect to MySQL server on '5.39.74.166' (10061))
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
  Reply With Quote
Old 03/08/2015, 05:03 PM   #397
BlackBank
High-roller
 
BlackBank's Avatar
 
Join Date: Dec 2010
Location: The Netherlands
Posts: 1,159
Reputation: 432
Default Re: MySQL & PostgreSQL Plugin

Quote:
Originally Posted by Patrick View Post
Is there any reasons why it doesn't connect? I am just continuing a script that uses this plugin and I have never used this script + there's no more documentation of this script about the errors and other stuff.

Code:
[10:48:37][info] Natives::sql_connect: Connecting to database (type = 1) samp5391:***@5.39.74.166:0/samp5391_autoarena...
[10:48:38][warning] Natives::sql_connect: Connection (conn->id = 1) failed! (error = 2003, Can't connect to MySQL server on '5.39.74.166' (10061))
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:38][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
[10:48:40][warning] Natives::sql_query: Invalid connection! (conn->id = 0)
The error kinda explains it: error = 2003, Can't connect to MySQL server on '5.39.74.166' (10061)

Are you sure you have access to that IP from the outside(remote)?
BlackBank is offline   Reply With Quote
Old 20/02/2017, 08:45 PM   #398
Djole1337
Gangsta
 
Join Date: Apr 2012
Posts: 910
Reputation: 303
Default Re: MySQL & PostgreSQL Plugin

Since github project page is down I'm posting &bumping this for people out there who are still intreseted in using/testing/playing with this plugin - https://github.com/udan11/samp-plugin-sql/releases

(Even though this plugin hasn't been updated in a while I still find it quite stable and bloat-free.)
Djole1337 is offline   Reply With Quote
Old 16/07/2017, 11:14 PM   #399
Scriptery
Big Clucker
 
Join Date: Aug 2015
Location: Romania
Posts: 68
Reputation: 12
Default Re: MySQL & PostgreSQL Plugin

Please update this dude.. fmm tie
__________________
My work:

ANTI AIMBOT
Scriptery is offline   Reply With Quote
Old 26/08/2017, 06:38 AM   #400
Barnwell
Gangsta
 
Barnwell's Avatar
 
Join Date: May 2014
Location: England
Posts: 533
Reputation: 23
Default Re: MySQL & PostgreSQL Plugin

Not bad
__________________
Left SA-MP ForEver
Barnwell is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Someone should make a PostgreSQL plugin Gamer_Z Plugin Development 19 06/02/2013 11:24 PM
PostgreSQL Steve M. Scripting Help 4 10/12/2011 11:36 AM
MySQL Plugin R5 plugin problem dud Scripting Help 12 05/12/2011 06:28 PM
[help][plugin] Can't load mysql plugin mariomako Help Archive 8 16/07/2011 02:37 PM
mysql plugin. loading plugin failed ikkentim Help Archive 2 10/02/2011 02:32 PM


All times are GMT. The time now is 11:44 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.