October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

log-core.dll in SA-MP: Rebuild the MySQL Plugin Safely

WorldSA-MP: Rebuild the MySQL Plugin Safely Length7 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

log-core.dll is not a Windows system file. In SA-MP, it is the Windows runtime library from samp-log-core, most commonly required by the BlueG SA-MP MySQL plugin.

The safest fix is to download the complete official Windows package matching your installed MySQL plugin, extract it to the SA-MP server directory, install the required x86 Microsoft Visual C++ runtime, and avoid copying the DLL into System32.

As an Amazon Associate I earn from qualifying purchases.

The one-minute fix

Before changing Windows, restore the plugin files as one matching set.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Stop the SA-MP server.
  2. Download the official Windows release archive for your installed SA-MP-MySQL version. A commonly used package is mysql-R41-4-win32.zip.
  3. Extract the archive to a temporary folder.
  4. Copy the files using their original layout:
SA-MP server folder
├─ samp-server.exe
├─ log-core.dll
├─ libmariadb.dll
└─ plugins
   └─ mysql.dll
  1. Copy a_mysql.inc into the Pawn include directory if you compile scripts.
  2. Open server.cfg in Notepad.
  3. Confirm the Windows plugin line is:
plugins mysql

Do not add .dll to the plugins line unless the project documentation for your exact server build specifically requires it.

#1 Best Overall
ASUS ROG G700 (2025) Gaming Desktop PC, Intel® Core™ Ultra 7 265F Processor, NVIDIA® GeForce RTX™ 5070, 1TB M.2 NVMe™ PCIe® 4 SSD, 16GB DDR5 RAM, Windows 11 Home, G700TF-DS774
  • Fearless ROG Design – The G700’s dual-glass chassis showcases iconic ROG design with the ROG Slash and Aura Sync RGB lighting. Its 58L capacity supports triple-slot GPUs.
  • Unstoppable Power – Equipped with the Intel Core Ultra 7 265F processor, NVIDIA GeForce RTX 5070 GPU, 16GB DDR5 RAM, and 1TB SSD PCIe 4.0 storage for seamless gaming and multitasking.
  • Optimized Thermals – Stay cool with a quad-fan system, while dust filters and efficient airflow ensure long-term reliability.
  • Advanced Connectivity – Game without lag with 2.5Gbps Ethernet, Wi-Fi 6, and versatile ports. Dolby Atmos audio and AI noise cancellation enhance sound and communication.
  • Ready for Upgrades – Designed with tool-less access, easily swap out components, ensuring future-proof performance for years to come.

Start samp-server.exe again. A successful repair normally means the console no longer stops at:

Loading plugin: mysql
Failed.

Time needed: 5–10 minutes.

If log-core.dll is already beside samp-server.exe, replace the complete plugin set anyway. The visible file may be from a different release, damaged, or unable to load one of its dependencies.

Fix 1: Install the x86 Visual C++ runtime

SA-MP servers and their plugins use 32-bit Windows binaries. This remains true when Windows itself is 64-bit. Install the x86 runtime, not only the x64 package.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open Microsoft’s latest supported Visual C++ Redistributable downloads.
  2. Download the current vc_redist.x86.exe.
  3. Run the installer.
  4. Choose Install. If it is already installed, choose Repair when offered.
  5. Restart Windows.
  6. Start the SA-MP server again.

The current Microsoft v14 runtime is binary-compatible across the relevant modern Visual Studio releases. However, it does not automatically replace every older runtime. Some SA-MP plugins still require older x86 packages, including Visual C++ 2010, 2010 SP1, 2012, or 2015 runtimes. Those packages can coexist with the current runtime.

If the SA-MP-MySQL documentation for your release names an older x86 package, install that package as well. Do not remove an older runtime merely because a newer one is present.

Time needed: 5–15 minutes.

Success means the plugin loads instead of reporting Failed. If the same error remains, continue with the complete-package replacement rather than installing random DLLs.

Rank #2
Sale
CyberPowerPC Gaming PC, AMD Ryzen 5 5500, Radeon RX 6500 XT 4GB
  • System: AMD Ryzen 5 5500 3.6GHz 6 Cores | AMD B550 Chipset | 8GB DDR4 | 500GB PCIe 4.0 NVMe SSD | Windows 11 Home
  • Graphics: AMD Radeon RX 6500 XT 4GB Graphics | 1x HDMI | 1x DisplayPort
  • Connectivity: 4 x USB-A 3.2 | 4 x USB-A 2.0 | 1 x LAN | WiFi 5 | Bluetooth 5.0 | 7.1 Channel Audio
  • Tempered Side Case Panel | Custom RGB Lighting | Keyboard and Mouse
  • 1 Year Parts & Labor Warranty, Free Lifetime Tech Support

Fix 2: Check the actual server folder

A frequent mistake is placing log-core.dll in the plugins folder or in a different copy of the server.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Right-click the shortcut used to start the server.
  2. Select Properties.
  3. Check Start in to identify the working directory.
  4. Open that directory.
  5. Confirm that samp-server.exe, log-core.dll, and libmariadb.dll are in the same folder.
  6. Confirm that pluginsmysql.dll exists underneath it.
  7. If you have multiple SA-MP server folders, repeat the check in the folder that actually launches.

The file should not be placed in:

C:WindowsSystem32
C:WindowsSysWOW64
SA-MP serverplugins

System32 and SysWOW64 are not substitutes for the server directory. Copying the file there can create version confusion and will not repair a mismatched MySQL package.

Time needed: 2–5 minutes.

If the server still fails, delete the extracted plugin set from the server folder and extract a fresh copy of the complete official archive into a new local folder. Avoid using an incomplete cloud-synchronised copy.

Fix 3: Do not mix plugin generations

log-core.dll and log-core2.dll are not interchangeable. They belong to different plugin generations and must not be substituted for one another.

Do not copy log-core.dll from another SA-MP server, plugin, backup, or unrelated application. Replace these files together:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • mysql.dll
  • log-core.dll
  • libmariadb.dll

Use a single official archive for all three. A plugin can fail when its logging runtime came from another release, even though the filename appears correct.

Rank #3
Sale
WIWB Gaming PC Desktop, GeForce RTX 3050 8GB GDDR6, AMD Ryzen 7 4700LE
  • 8-Core 16-Thread Processing Power – Powered by the Ryzen 7 4700LE processor with Zen 2 architecture, delivering 8 cores and 16 threads with a boost clock up to 4.2GHz. Effortlessly handle multitasking, streaming, content creation, and demanding applications simultaneously without slowdowns.
  • GeForce RTX 3050 8GB Graphics – Equipped with 8GB GDDR6 dedicated VRAM and real-time ray tracing support. Experience smooth 1080p gaming at 55-60 FPS in AAA titles like Cyberpunk 2077, 70+ FPS in Fortnite, and 90-100 FPS in Apex Legends with DLSS enabled. The 8GB buffer handles modern game textures comfortably – a step above 6GB variants
  • High-Speed Memory & Storage – Paired with 16GB of DDR4 3200MHz dual-channel RAM (16GB), the PC ensures responsive multitasking—whether streaming while gaming or editing videos. It also includes a 512 GB NVMe M.2 SSD for lightning-fast boot times, quick game loads, and ample storage for your game library, creative projects, and files.
  • Next-Gen WiFi 6 Connectivity – Stay connected with the latest WiFi 6 technology for faster speeds, lower latency, and improved network efficiency. Whether you're gaming online, streaming 4K content, or joining video conferences, enjoy stable, high-speed wireless connectivity.
  • Ready-to-Use Value Desktop – Pre-built and ready to go right out of the box. Perfect for gamers, students, content creators, and home office users seeking reliable performance without the hassle of building a PC themselves. The mature AM4 platform with DDR4 memory offers excellent value and proven stability.

The R41-4 release information also identifies a faulty Windows libmariadb.dll in that release history. If log-core.dll is present but MySQL connection errors appear after the load problem is fixed, replace the complete package rather than replacing only the logging file.

Time needed: 5–10 minutes.

Fix 4: Check antivirus quarantine

Windows Security or another antivirus program may have quarantined or deleted the file.

  1. Open Start and search for Windows Security.
  2. Select Virus & threat protection.
  3. Select Protection history.
  4. Look for an entry involving log-core.dll, mysql.dll, or libmariadb.dll.
  5. Restore the file only if the archive came directly from the trusted SA-MP-MySQL project.
  6. If the source is uncertain, remove the copy and download the complete official archive again.
  7. Add an exclusion only after verifying the source and understanding the security risk.

Do not restore an unknown DLL simply because its filename matches. Microsoft warns that allowing a malicious file can put the device at risk.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Time needed: 5 minutes.

Fix 5: Re-extract the server files

A damaged archive, interrupted download, or partial copy can make a DLL appear to be missing or invalid.

  1. Create a new folder such as C:SAMP-Test.
  2. Download the complete official Windows plugin archive again.
  3. Right-click the archive and select Extract All.
  4. Extract to the new folder.
  5. Copy the files into the correct SA-MP server locations.
  6. Confirm that the files are not still inside a nested folder such as mysql-R41-4-win32mysql-R41-4-win32.
  7. Start the server from that clean directory.

If the server works from the clean folder, the original installation was incomplete, damaged, or pointing to a different directory.

Time needed: 10–20 minutes.

Fix 6: Repair Windows components only if other programs also fail

log-core.dll is a third-party SA-MP runtime, so Windows component repair will not recreate it. Use DISM and SFC only when other applications are also reporting damaged or missing Windows files.

Rank #4
msi Codex Z2 Gaming Desktop, AMD R7-8700F, RTX 5070, 32GB DDR5, 2TB SSD
  • POWERHOUSE 8-CORE GAMING PERFORMANCE — Driven by the AMD Ryzen 7 8700F with 8 cores and 16 threads, boosting up to 5.0 GHz for smooth, responsive gameplay and the ability to handle AAA titles, streaming, and background tasks all at once
  • NEXT-GEN BLACKWELL ARCHITECTURE — The NVIDIA GeForce RTX 5070 is powered by NVIDIA's cutting-edge Blackwell GPU architecture, delivering a massive generational leap in rasterization and ray tracing performance so you can experience your games the way they were meant to be played.
  • Simplistic Design: Enjoy the latest generation of Windows 11 Home for your everyday needs. *MSI recommends Windows 11 Pro for business use.
  • Cool While Gaming: In conjunction with an ARGB fan Air Cooler, the Codex R2 features four system cooling fans; three in the front and one in the rear to pull in cool air and push heat out of the PC.
  • Turn on the Bright Lights: With the built-in RGB lighting, take your gaming experience to the next level by pressing the MSI LED button to cycle through lighting options. Customize lighting even further with MSI Center software.
  1. Open Start.
  2. Search for Command Prompt.
  3. Right-click it and select Run as administrator.
  4. Run:
DISM.exe /Online /Cleanup-Image /RestoreHealth
  1. Wait for it to complete.
  2. Then run:
sfc /scannow
  1. Restart Windows and test the SA-MP server again.

Microsoft recommends running DISM before SFC. If both commands report that Windows is healthy but SA-MP still cannot load the plugin, return to the matching plugin archive and x86 runtime. These commands do not download log-core.dll.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When manually repeating DISM and SFC leaves you unsure what changed, Outbyte PC Repair can scan for broader Windows issues; its free scan shows what it found, while repair is handled by the full version. Reinstalling the SA-MP-MySQL package remains the definitive fix for this application-specific DLL.

Time needed: 15–30 minutes.

Fix 7: Check drivers only for wider system instability

A graphics or device driver does not normally supply log-core.dll. Do not update drivers as the first response to this SA-MP error.

If other applications are crashing or devices are malfunctioning:

  1. Right-click Start.
  2. Select Device Manager.
  3. Expand categories such as Display adapters, Network adapters, and Sound, video and game controllers.
  4. Right-click a device.
  5. Select Properties and inspect the Device status message.
  6. Use Driver → Update Driver.
  7. Choose Search automatically for drivers.
  8. Restart Windows if a driver is installed.

Do not remove a working driver merely because log-core.dll is missing.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When checking many devices manually becomes guesswork, Outbyte Driver Updater can scan for outdated drivers; its free scan identifies the findings, while driver installation is handled by the full version. It is not a replacement for restoring the official SA-MP plugin package.

Time needed: 10–30 minutes, only when other hardware problems exist.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Fix 8: Ignore unrelated Windows Features and registration advice

Do not enable a Windows optional feature, install DirectX, or reinstall .NET solely to restore log-core.dll. There is no evidence that those components supply this SA-MP runtime.

Best Value
KOTIN Prebuilt Gaming PC RTX 5070 12GB, Ryzen 7 9700X, 32GB DDR5, 1TB SSD
  • POWERED BY RTX 5070 12GB + RYZEN 7 9700X - The GeForce RTX 5070 12GB GDDR7 graphics card pairs with an 8-core AMD Ryzen 7 9700X processor to drive smooth 1440p and 4K gameplay, giving this gaming PC the headroom for modern titles, streaming, and creative work.
  • 32GB DDR5 6000MHz MEMORY & 1TB NVMe SSD - 32GB of high-speed DDR5 memory and a 1TB PCIe 4.0 NVMe solid state drive deliver quick load times, smooth multitasking, and generous storage, keeping this prebuilt gaming desktop responsive under heavy workloads.
  • BUILT-IN 11.3-INCH Smart DISPLAY - An integrated smart screen shows real-time CPU and GPU temperatures, usage, and weather while you play, adding a distinctive and functional touch to your battlestation.
  • 850W 80+ GOLD POWER SUPPLY, 360MM LIQUID COOLING & WiFi 7 - An 850W 80 Plus Gold certified power supply provides stable, efficient power with headroom for future upgrades, while a 360mm AIO liquid cooler, WiFi 7, and an ARGB mid-tower case keep the Ryzen 7 CPU cool and connected in a clean build.
  • READY TO PLAY OUT OF THE BOX - Arrives fully assembled and tested with Windows 11 Home pre-installed, so your prebuilt gaming computer is ready to set up in minutes. Assembled in the USA, and backed by a one-year limited warranty and lifetime free technical support.

You also normally should not run:

regsvr32 log-core.dll

regsvr32 is intended for DLLs that provide registration entry points such as DllRegisterServer. log-core.dll is a runtime library used by SA-MP plugins, not a Windows shell component that needs registration. Registration will not fix a missing dependency, wrong architecture, or mismatched MySQL package.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What each error usually means

  • “The program can’t start because log-core.dll is missing”: the file is absent, in the wrong folder, quarantined, or the wrong server copy is being started.
  • “The specified module could not be found”: Windows may be unable to find a dependency such as libmariadb.dll or an x86 Visual C++ runtime. The named DLL can be visibly present and still fail.
  • “log-core.dll is either not designed to run on Windows or it contains an error”: suspect a corrupted file, wrong architecture, or files from incompatible releases.
  • Loading plugin: mysql followed by Failed.: check the entire plugin set, server-root placement, architecture, dependencies, and the x86 runtime.

Likely causes, in order

  1. Missing or misplaced log-core.dll.
  2. mysql.dll, log-core.dll, and libmariadb.dll came from different releases.
  3. The x86 Visual C++ runtime is missing.
  4. An x64 package was used with the 32-bit SA-MP server.
  5. Antivirus quarantine or deletion.
  6. Corrupted or incomplete extraction.
  7. A faulty dependency, especially libmariadb.dll.
  8. Broader Windows corruption or a recent system change.

FAQ

Is log-core.dll part of Windows?

No. It is a third-party runtime associated with SA-MP plugins, especially the BlueG SA-MP MySQL plugin.

Where should it go?

Place it in the SA-MP server root, beside samp-server.exe. Place mysql.dll in plugins and libmariadb.dll in the server root.

Do I need the x86 or x64 Visual C++ runtime?

Use the x86 runtime. SA-MP server and plugin binaries are 32-bit, even on 64-bit Windows.

Can I download only log-core.dll?

Do not use random DLL download sites websites. They may provide malware, the wrong build, or the wrong architecture, and a standalone file may not include libmariadb.dll or the required runtime. Use the official SA-MP-MySQL Windows archive matching your plugin.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Can I use log-core2.dll instead?

No. It is not an interchangeable replacement.

Should I copy the file to System32?

No. Keep it beside samp-server.exe.

What should I collect if the plugin still fails?

Record the complete startup log, exact SA-MP-MySQL release, Windows edition, plugin list, and the precise message, such as Failed, bad image, or a named missing dependency. Then test the same official package in a fresh server directory.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.