MySQL works on own PC, but not on Windows 2012 Server.
#1

When I try to run the server, it fails to load the MySQL plugin (BlueG's), however when I try it on my PC, it works.

https://github.com/pBlueG/SA-MP-MySQL#faq

I have downloaded the C++ redistributables, and am trying to follow the Build Instruction,

Quote:

Windows

Install Microsoft Visual Studio C++ (2012 or newer, the Express version also works) and the MySQL C Connector (32-bit)
Install the boost libraries (version 1.55 or higher)
Open the solution file with Visual Studio -> right click on the project -> Properties -> VC++ Directories, use Release as configuration and adjust the paths to the previously installed libraries
Build the solution with Release as configuration

I know how Visual Studio works (C# programmer), however what solution file are they talking about? I've downloaded all the files.

Код:
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[12:00:25] filterscripts = ""  (string)
[12:00:25] 
[12:00:25] Server Plugins
[12:00:25] --------------
[12:00:25]  Loading plugin: mysql
[12:00:30]   Failed.
[12:00:30]  Loading plugin: nativechecker
[12:00:30]   Loaded.
[12:00:30]  Loaded 1 plugins.

[12:00:30] 
[12:00:30] Ban list
[12:00:30] --------
[12:00:30]  Loaded: samp.ban
[12:00:30] 
[12:00:30] 
[12:00:30] Filterscripts
[12:00:30] ---------------
[12:00:30]   Loaded 0 filterscripts.

[12:00:30]    Error: Function not registered: 'mysql_connect'
[12:00:30]    Error: Function not registered: 'mysql_format'
[12:00:30]    Error: Function not registered: 'mysql_query'
[12:00:30]    Error: Function not registered: 'cache_get_row_count'
[12:00:30]    Error: Function not registered: 'cache_delete'
[12:00:30]    Error: Function not registered: 'cache_get_field_content_int'
[12:00:30] Script[gamemodes/TimmehRP.amx]: Run time error 19: "File or function is not found"
[12:00:30] Number of vehicle models: 0
Reply
#2

When I try to start the server it comes with this error:

Quote:

The procedure entry point _crtCreateSymbolicLinkW could not be located in the dynamic link library
C:\\Windows\SYSTEM32\MSVCP110.dll.

Reply
#3

Quote:
Originally Posted by AnthonyTimmers
Посмотреть сообщение
I know how Visual Studio works (C# programmer), however what solution file are they talking about? I've downloaded all the files.
A solution file (.sln) is the file that contains information about your project or alike; which I'm sure you'd know if you actually were a C# programmer & knew how to Visual Studio works as you're implying you are/do.
Reply
#4

Still, why are you trying to compile the plugin yourself if there are precompiled binaries? https://github.com/pBlueG/SA-MP-MySQL/releases
Reply
#5

Quote:
Originally Posted by OsteeN
Посмотреть сообщение
A solution file (.sln) is the file that contains information about your project or alike; which I'm sure you'd know if you actually were a C# programmer & knew how to Visual Studio works as you're implying you are/do.
Ofcourse I know WHAT a solution file is..
If you'd get your head out of your ass, you could perhaps read correctly before posting such ridiciously stupid posts.

Quote:

what solution file are they talking about?

As in, WHERE is this solution file located? Because there is no solution file included as far as I can see in the zips I downloaded. I already fixed this issue by replacing the dll from my own System32 with the one on my server OS.
Reply
#6

Quote:
Originally Posted by Vince
Посмотреть сообщение
Still, why are you trying to compile the plugin yourself if there are precompiled binaries? https://github.com/pBlueG/SA-MP-MySQL/releases
I was just following the steps other people tried when they had a similar problem (yes, I search and read other topics before I post something), however I found my own solution and indeed recompiling was not necessary.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)