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.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

The dependable RedM database stack is a MySQL-compatible server—MariaDB is the usual choice—connected through oxmysql. Create a database and least-privilege user, put the connection string in server.cfg, start oxmysql before your framework, and import every framework or script .sql file into that same database. If any one of those pieces points somewhere different, resources can start with missing tables or fail to connect.

This guide covers managed and self-hosted databases, exact configuration formats, VORP and RSG considerations, txAdmin deployment, legacy-wrapper compatibility, security, backups, and the errors that most often stop a RedM server during startup.

How the RedM database stack fits together

FXServer runs your RedM resources. Framework cores and gameplay resources use a database driver to persist characters, inventories, money, jobs, housing and other state. In a current setup, oxmysql is the driver layer between those resources and a MariaDB or MySQL-compatible server. The database server stores the data; oxmysql manages the connection pool and query interface; your resources supply the schema and queries.

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

The connection is not configured inside each script. It is normally exposed as the mysql_connection_string convar in server.cfg. Every resource that needs persistence must use the same intended database, and oxmysql must be ready before those resources initialize. A valid database service alone is therefore not enough: credentials, schema, driver version and resource order all have to agree.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application: attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Economical &Reusable: Built durable materials with a long-lasting battery,our CAGIWIRU air duster it's a sustainable alternative to disposable air cans.

Choose where the database will run

You can run MariaDB on the same machine as FXServer, on another machine you control, or through a managed game-server/database provider. The right choice depends on how much administration you want to perform and how much control you need over networking and backups.

For the FXServer side, Godlike.Host RedM servers offer a Pterodactyl-based game panel, SFTP/FTP access, and up to three free backups a day with restore; you still configure MariaDB and oxmysql as described here. It is not on Cfx.re’s list of authorized RedM hosts (redm.net, 10 Oct 2026).

Consideration Self-hosted MariaDB Managed database
Control Full control of MariaDB configuration, users, upgrades and firewall rules. Provider controls the service and may limit server settings, extensions or upgrade timing.
Maintenance effort You install patches, monitor disk space, tune the service and test restores. The provider handles much of the infrastructure; you still manage schemas, users and application backups.
Network path On the same host, traffic can stay local. A separate host requires routing and firewall configuration. Latency and reliability depend on the provider’s region and network. Choose a location near the FXServer when possible.
Backups and recovery You choose dump frequency, retention and off-host storage. Some providers offer automated snapshots, but retention and restore procedures vary; verify them before relying on them.
Cost There is no universal figure: hardware, electricity and administration are your responsibility. Recurring charges and support terms vary by provider and plan.
Support You diagnose the operating system, MariaDB and network yourself. Provider support may help with service availability, but application schemas and RedM resources remain your responsibility.

For a small private server, local MariaDB is often the simplest arrangement. A managed service can be preferable when you need off-host resilience or do not want database administration. In either case, keep the database reachable only from the FXServer or other explicitly trusted addresses.

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

Collect the five connection values

Before installing resources, write down the values your server will use:

Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth
  • Host: usually localhost when MariaDB is on the FXServer machine, or a private hostname/IP supplied by a provider.
  • Port: commonly 3306, unless the database administrator configured another port.
  • Database name: the schema container that will receive your framework tables, such as redm.
  • Username: a database account created for this server rather than a shared administrator account.
  • Password: a long, unique secret stored in protected configuration.

A typo in any one of these values can look like an oxmysql problem. Copy the provider’s values exactly, including a non-default port, and confirm the account is permitted to connect from the FXServer’s host.

Install and prepare MariaDB

Using a managed database

Use the provider’s control panel to create a database and an application user, then record its host, port, database name, username and password. Some services create the database and user together; others require separate steps. Check whether remote connections are restricted to an allowlist and add the FXServer’s public or private address as required. Do not assume that a username created for a local console can connect from another machine.

Self-hosting on the FXServer machine

Install a supported MariaDB release for your operating system, enable its service, and apply security updates. The VORP guidance specifically recommends MariaDB 10.11.2 and uses HeidiSQL for connection management and SQL imports. That recommendation is framework guidance, not a requirement for every RedM resource; confirm the version expected by the framework you actually deploy.

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

Create a dedicated database and account. The following illustrates the shape of the commands; use a unique password and adjust the host part to match your network policy:

Rank #3
Sale
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black | LED mouse pad with 14 lighting modes, covers keyboard & mouse, anti-slip rubber base, waterproof surface, USB powered
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.
CREATE DATABASE redm CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'redm_user'@'localhost' IDENTIFIED BY 'correct-horse-battery-redm-2026';
GRANT ALL PRIVILEGES ON redm.* TO 'redm_user'@'localhost';
FLUSH PRIVILEGES;

If FXServer and MariaDB are on different machines, the account host must permit the FXServer’s address, MariaDB must listen on the intended interface, and the firewall must allow the chosen port only from trusted sources. Avoid exposing port 3306 to the entire internet. A local-only account such as 'redm_user'@'localhost' will not work for a remote FXServer.

Install oxmysql in FXServer

  1. Download a current oxmysql release from its maintained project distribution.
  2. Extract the resource folder into the server’s resources directory. Keep the resource folder name as expected by the release, normally oxmysql.
  3. Open server.cfg and add ensure oxmysql near the top, after your basic server settings and before framework or script resources.
  4. Save the file and check the startup console for oxmysql initialization before enabling dependent resources.

Do not install oxmysql as a client-only resource or place it in a folder that FXServer does not scan. If the console says the resource cannot be found, verify the extracted directory has not gained an extra nesting level such as resources/oxmysql/oxmysql.

Put the connection string in server.cfg

Set mysql_connection_string before every ensure line that starts oxmysql, your framework core or a script that queries the database. oxmysql accepts a URI form and a semicolon-separated key/value form.

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

URI form

set mysql_connection_string "mysql://user:password@localhost:3306/redm?charset=utf8mb4"

Replace the host, port, database, username and password with the values for your service. The charset=utf8mb4 parameter helps the database handle the full Unicode range used by player names and text fields.

Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.

Key/value form

set mysql_connection_string "user=root;password=12345;host=localhost;port=3306;database=redm"

The second example mirrors the format documented by oxmysql, but an administrator account and a short password are poor production choices. Use the dedicated account you created and a long secret instead.

Special characters in credentials

Characters such as @, :, /, ?, #, semicolons and spaces have structural meaning in connection strings. A password containing them can be parsed incorrectly, producing an access-denied or malformed-URI error. Either use a connection-string format that safely represents the characters or encode them according to the format’s rules. Test the resulting value in a protected environment; never paste a live password into a public issue or screenshot.

Recommended resource order

set mysql_connection_string "mysql://redm_user:your-secret@localhost:3306/redm?charset=utf8mb4"

ensure oxmysql
ensure vorp_core
# or the RSG framework core
# then framework modules and gameplay resources

Keep the convar above the first ensure. Start oxmysql first, the framework core second, framework modules next, and gameplay scripts last. A script can still need an explicit dependency declaration, but a clean order in server.cfg prevents many boot-time races.

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

Import framework and script schemas

Installing a driver does not create character, inventory or job tables. Each framework or resource normally ships one or more .sql files. Import them into the database named at the end of your connection string, not merely into whichever database your SQL client selected last.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.
  1. Stop the server or disable the resources whose tables you are about to create.
  2. Connect to MariaDB with HeidiSQL, the provider’s SQL console, or another trusted client.
  3. Select the intended redm database and confirm its name in the client window.
  4. Open the framework’s supplied SQL file, such as VORP’s MariaDB.sql, and execute it.
  5. Import each additional script migration into the same database, following the maintainer’s order when files are numbered.
  6. Refresh the table list and check that the expected tables exist before starting dependent resources.

Importing into the wrong database is one of the most common causes of “table does not exist” errors. The server may connect successfully while still failing every query because the schema was created elsewhere. Treat each framework’s SQL as versioned application code: keep a copy with your server files and apply migrations when you update the framework.

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

Framework-specific setup notes

Framework or case What to verify
VORP The cited VORP guidance recommends MariaDB 10.11.2, HeidiSQL for management, importing MariaDB.sql, and using oxmysql with the current framework. Follow the version and migration instructions shipped with the exact VORP release you install.
RSG Its guide indicates that a txAdmin recipe may configure the database automatically. If it does not, install oxmysql in resources, add it near the top of server.cfg, configure the connection string, and import the RSG SQL files manually.
Other frameworks Read the maintainer’s current recipe and SQL instructions. Confirm whether the release expects oxmysql or a legacy wrapper, and use one consistent connection format and database.
Older resources Some scripts still expect mysql-async or ghmattimysql. Their APIs are not automatically interchangeable with oxmysql. Use an officially supported compatibility layer, update the resource, or keep the wrapper it explicitly requires.

Use txAdmin without losing control of the database

txAdmin is included with FXServer; it is not a separate resource that you download and ensure. Its recipes can create a server configuration, connect to a database and execute SQL as part of deployment. This is convenient for a new server, especially when an RSG recipe handles initial database setup.

Review a recipe before running it. Confirm the source URL, credentials, permissions requested by the recipe and every SQL statement it will execute. Back up existing server data and the database before applying a recipe to an established installation. If a deployment fails, inspect the first failed task and its error output; repeatedly redeploying can hide the original cause or apply only part of a migration.

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.

Verify the connection before enabling every script

  1. Start FXServer with only oxmysql and the framework core enabled.
  2. Watch the console for a successful database initialization and for authentication, DNS, timeout or SQL errors.
  3. Confirm the expected framework tables are visible in the selected database.
  4. Start one dependent module at a time. This identifies the first resource that requests a missing table or incompatible API.
  5. Connect a test character and perform a save-and-restart check. Data that survives a restart demonstrates that the resource is writing to the intended database rather than merely holding state in memory.

Do not treat an empty error screen as proof that the database works. A server can reach MariaDB while a particular resource still has a missing migration, wrong table prefix or legacy-wrapper dependency.

Troubleshoot the common failures

Symptom Likely cause Fix
Access denied for user Wrong username or password, wrong database name, or an account whose host permission excludes FXServer. Copy the credentials again, test them from the FXServer host, verify the account’s allowed host, and grant access only to the required database.
Connection refused MariaDB is stopped, listening on another port/interface, or blocked by a firewall. Check the MariaDB service status, confirm the configured port, verify that the host resolves to the intended machine, and allow the port only from trusted server addresses.
Connection timeout Routing, provider allowlists or firewall rules prevent the packets from reaching the database. Confirm the provider has allowed the FXServer IP, test network reachability from the server, and remove accidental public-DNS or private-network mismatches.
Unknown database The database name in mysql_connection_string was never created or is misspelled. Create the database or correct the convar, then restart oxmysql.
Table does not exist The framework SQL was not imported, was imported into another database, or a migration is missing. Select the database named by the connection string, import the supplied SQL, and apply migrations in the documented order.
Resource starts before database oxmysql or the connection convar appears below the framework or script in server.cfg. Move the convar and ensure oxmysql above all resources that query the database; restart and check the first error again.
Malformed connection string A reserved character in the password or URI was interpreted as syntax. Encode the value correctly or use the key/value format, then protect the updated secret.
Legacy API errors The resource calls mysql-async or ghmattimysql functions while only oxmysql is installed. Install the wrapper explicitly required by that resource, use a supported compatibility option, or migrate the resource’s queries to its current API.
txAdmin recipe stops partway through Bad source, invalid credentials, insufficient permissions or SQL that does not match the existing database. Read the first failed task, validate the recipe inputs and SQL, restore a backup if necessary, and rerun only after correcting the cause.

Protect credentials and data

  • Keep the database password and server keys in protected configuration or provider settings. txAdmin documentation specifically warns against exposing database passwords in public files.
  • Do not publish a complete server.cfg containing live secrets. Redact the password before sharing logs or support requests.
  • Use a dedicated database account with access to the RedM database rather than a global administrative account.
  • Restrict remote database access by firewall and account host. A database that is reachable from the whole internet is an unnecessary attack surface.
  • Back up the database and server data before importing a new schema, changing recipes or applying framework migrations.
  • Test a restore on a separate database or machine. A backup that has never been restored is not a recovery plan.
  • Record the framework, resource and MariaDB versions alongside each backup so you can reproduce the matching schema after a failure.

Self-hosted versus managed: a practical decision

Choose self-hosting when FXServer and MariaDB can run on the same trusted machine, you are comfortable applying updates and you want direct control over firewall and backup policy. Choose a managed service when you need the database separated from the game host, want provider-operated infrastructure or require an easier path to off-host snapshots. In both cases, the application work is the same: create the right account, configure oxmysql, import the matching schemas and monitor startup logs.

Do not select a service on an advertised performance claim alone. The available guidance does not establish a RedM-specific latency or throughput benchmark, and real results depend on region, network path, query workload, indexes and resource quality. Measure your own save and login behavior after the schema is installed, and keep a tested backup regardless of hosting model.

Pre-launch checklist

  • MariaDB or another MySQL-compatible server is running and patched.
  • The database host, port, name, user and password are documented privately.
  • The database account can connect from the FXServer host and has only the required scope.
  • oxmysql is extracted directly under resources and starts without a missing-resource error.
  • mysql_connection_string is above ensure oxmysql and all dependent resources.
  • The URI or key/value string uses the correct port, database and safely represented credentials.
  • VORP, RSG or other framework SQL files have been imported into the selected database.
  • Framework modules and gameplay scripts start after oxmysql and the framework core.
  • No resource is silently expecting mysql-async or ghmattimysql without a supported compatibility plan.
  • A backup exists and a restore procedure has been tested before production players connect.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

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