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

To use MySQL on a Minecraft server, create a database and a restricted database user, collect the host, port, database name, username and password, select MySQL in the plugin’s configuration, then save and restart the server. The workflow is consistent across most plugins, but configuration keys and file names vary by plugin and version.

What MySQL changes on a Minecraft server

A Minecraft plugin normally stores data locally in a file, SQLite database or another embedded store. Selecting MySQL moves that plugin’s data into a separate MySQL or compatible database server. The plugin connects over the network whenever it reads or writes data.

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

This matters most when more than one Minecraft server must use the same data. A network behind BungeeCord, for example, can use one shared permissions or player-data database so that changes made on one server are available to the others. A remote database can also suit a data-heavy plugin, provided the database server is reachable and sized appropriately.

For one small server, the plugin’s default file or SQLite storage is usually simpler. It avoids database credentials, network access and another service to maintain. Do not switch to MySQL merely because it sounds faster; switch when shared data, centralized administration or the plugin’s documented requirements justify it.

#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:Upgraded 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.
  • Warranty & Support: Our Electric air duster comes with 5 years warranty and 24/7 customer service. During this period, if you have any questions,pls kindly feel free to contact us.

Decide whether MySQL is appropriate

Use MySQL for a multi-server network

  • Several Minecraft servers need the same permissions, economy records or other plugin data.
  • You are building a network and want a central store before adding more servers.
  • The plugin documentation specifically requires or recommends a remote database for network operation.

The official LuckPerms documentation states that a remote database such as MySQL is needed when you run multiple servers in a network or plan to do so. Each server must use the same database details and compatible plugin configuration.

Keep local storage for a single small server

  • The server is standalone and the plugin’s built-in file or SQLite option meets your needs.
  • You do not want to expose a database port or manage credentials.
  • The plugin does not document a MySQL benefit for your use case.

Changing storage is an operational decision, not a mandatory Minecraft setting. Check the plugin’s own documentation before changing an established installation.

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

Prepare the information and access you need

Before editing a configuration file, make sure you have administrative access to both the Minecraft server and the database service. You need these five connection values:

Value What it means Where to get it
Hostname or address The DNS name or IP address of the MySQL server Your game host’s database panel or the machine running MySQL
Port The TCP port on which MySQL accepts connections The database panel or your administrator; do not assume a port if one is supplied
Database name The specific schema in which the plugin will create or use tables The name you choose when creating the database
Username A SQL account used by the plugin The dedicated user you create or the panel generates
Password The secret for that SQL account Set it during user creation and store it securely

Keep the values together in a password manager or another protected location. A Minecraft plugin configuration commonly contains the password in plain text, so restrict access to the server files and never paste the file into a public issue or chat.

Create the database and a dedicated user

Managed game-host panel

Panel labels differ, but the process is usually:

  1. Open the server’s management panel and select Databases.
  2. Click NEW DATABASE (or the panel’s equivalent).
  3. Choose a database name and create a database user with a strong password, if the panel separates those actions.
  4. If the panel has a connections from field, leave it empty when the Minecraft server itself must connect and the panel’s instructions define an empty value as unrestricted. If the panel lets you specify the server address, use the narrowest permitted source instead.
  5. Copy the generated hostname, port, database name, username and password before leaving the page.

Some hosts display a combined address such as database-host:port; others put the hostname and port in separate fields. Enter them in the format required by your plugin.

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

MySQL on a machine you control

Create one database for the plugin and one SQL account dedicated to that database. The following is an illustrative pattern; replace every example value and apply the account-host restriction appropriate to your network:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
CREATE DATABASE mpdb;
CREATE USER 'mc_plugin'@'SERVER_ADDRESS' IDENTIFIED BY 'use-a-long-unique-password';
GRANT ALL PRIVILEGES ON mpdb.* TO 'mc_plugin'@'SERVER_ADDRESS';
FLUSH PRIVILEGES;

mpdb is simply an example database name. The account should have access to the one schema it needs, not unrestricted access to every database on the server. If the Minecraft server and MySQL run on the same machine, your administrator may use a local account host; if they are separate, the account and firewall must permit the Minecraft server’s address.

Do not give a plugin your MySQL administrator account. A dedicated account limits the damage from a leaked password or a plugin defect. After creating the account, verify that it can log in and access only the intended database.

Open the plugin configuration

Stop the server before making a configuration change when your host recommends doing so, or use the panel’s file editor carefully and restart afterward. Plugin files are often under the server’s plugins directory. On a managed host, open the panel’s Files tab, enter the relevant plugin folder and locate config.yml or the file named in that plugin’s documentation.

Find the plugin’s storage setting. It may be a selector such as storage-method, a boolean that enables MySQL, or a nested database section. Do not copy key names from another plugin: two plugins can use different names for the same setting, and a key can change between versions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black
  • 【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.

Enter the five connection values exactly as supplied. If the plugin expects one combined address, use the documented form, commonly hostname:port. If it has separate host and port fields, keep them separate.

Quote YAML text values

Quote usernames, hostnames and especially passwords in YAML. Characters such as :, #, !, braces or leading symbols can otherwise be interpreted as YAML syntax.

username: "mc_plugin"
password: "replace-with-your-password"

Preserve indentation. YAML is whitespace-sensitive, so a correctly spelled setting at the wrong indentation level can behave as if it were missing.

Worked example: configure LuckPerms for MySQL

LuckPerms uses a file-based H2 database by default, so a new installation works without database setup. To use MySQL, edit its storage settings after creating the database and user.

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.
  1. Open the LuckPerms configuration file. Depending on the version, it may be config.yml or luckperms.conf.
  2. Find the Storage Settings section.
  3. Set the storage method to MySQL:
storage-method: mysql
  1. Fill in the data block with the values from your database provider:
data:
  address: "db.example.net:3306"
  database: "mpdb"
  username: "mc_plugin"
  password: "replace-with-your-password"

The address above is an illustration. Use the hostname and port supplied for your installation; do not assume that localhost:3306 is correct. A third-party configuration example also shows a connection-pool setting with a maximum pool size of 10, but that layout is illustrative rather than an authoritative default. Add optional pool settings only when the LuckPerms version you run documents them.

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.

Save the file, restart the server and inspect the startup log. A successful startup loads the MySQL storage provider without connection or authentication errors. If the server still reports H2 or file storage, recheck the storage-method key, the file you edited and the YAML indentation.

Restart and verify the connection

  1. Save the configuration with the server stopped or through the panel’s supported editor.
  2. Start or restart the Minecraft server.
  3. Watch the console from the beginning of the startup sequence.
  4. Look for the plugin’s storage provider to load as MySQL without an exception.
  5. Perform a small, reversible operation in the plugin, such as changing a test permission, then restart again and confirm the change persists.

A successful login alone is not enough if the plugin is still configured for local storage. Confirm both that the MySQL provider loaded and that the plugin can read data after a restart.

Use one database across multiple Minecraft servers

For a network, configure every participating server with the same database address, schema name, username and password. Each server must also run a compatible plugin version and use the same storage method. A database hosted on one private server must be reachable from every Minecraft server through its firewall and network route.

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.

Do not create a separate schema for each server when the purpose is shared data. Conversely, do not point unrelated plugins at the same schema unless their documentation explicitly supports it. A dedicated schema or clearly separated table namespace makes backups and troubleshooting safer.

When multiple servers write at the same time, follow the plugin’s guidance for caching, connection pooling and synchronization. Those settings are plugin- and version-specific; there is no universal MySQL configuration that can be copied across all Minecraft plugins.

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.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Back up before changing storage

Changing from H2, a file store or SQLite to MySQL can involve a data migration. Make a copy of the plugin’s existing data directory and configuration before changing the storage method. Also arrange a database backup after the first successful MySQL startup.

Some third-party guides show the LuckPerms command lp migrate mysql. Because that command is not confirmed here against the official documentation for every version, do not run it blindly. Verify the migration procedure for your exact LuckPerms release, take a backup first and follow the documented order of operations. A storage switch that connects successfully does not necessarily migrate old records automatically.

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

Troubleshoot common failures

Symptom Likely cause What to check
“Access denied” or authentication failure Wrong username, password or permitted account host Copy the credentials again, confirm the SQL user exists and verify that its host restriction includes the Minecraft server.
Connection refused or timed out Wrong hostname or port, blocked firewall or a database service that is not listening Use the panel-provided address, check the port, confirm MySQL is running and allow traffic from the Minecraft server where appropriate.
Unknown database The schema name is misspelled or was never created Compare the configuration with the database panel or run a database listing as an administrator.
Plugin starts with local storage Wrong file, wrong key or invalid YAML indentation Confirm the version-specific configuration path, set the documented MySQL toggle and inspect the startup log.
YAML parsing error Unquoted special characters, tabs or broken indentation Use spaces, quote text values and restore the last known-good configuration before editing again.
Tables cannot be created The SQL account lacks privileges on the selected schema Grant the dedicated user access to that database and ensure the configured database name matches the grant.
Works on one server but not another Different network access, credentials or plugin versions Compare all five connection values, firewall rules, storage settings and plugin versions server by server.

Read the first database-related error rather than only the final shutdown message. Later errors are often consequences of the original authentication, address or parsing problem.

Protect the database credentials

  • Use a unique, long password for the plugin account.
  • Grant access only to the required database; never use the MySQL administrator account in a plugin.
  • Limit which host or network can connect when your provider supports it.
  • Restrict panel and file-manager access to trusted administrators.
  • Remove passwords from screenshots, bug reports and public repositories.
  • Back up both the database and the plugin configuration before upgrades or migrations.

If a password is exposed, change it in MySQL or the hosting panel and update every server that uses the account. Restart the affected plugins so they discard the old connection and authenticate with the new credential.

Handle plugin-specific configuration carefully

The general sequence—create credentials, enter connection details, select MySQL, restart and inspect logs—is portable. The names and locations are not. LuckPerms documents storage-method: mysql and a data block, while another plugin may place its settings under an economy or database section.

Search the exact documentation for your installed plugin and version before adding keys. An unverified search excerpt describes EssentialsX MySQL fields such as enabled, host, port, database, username and password under an economy section, but that layout should not be treated as confirmed for every EssentialsX release. Use the plugin’s shipped configuration and official documentation as the authority.

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

There is no single 2026 configuration format for Minecraft plugins. Version changes can rename files, move sections or alter migration commands, so a configuration copied from an older tutorial may silently fail.

Operational checklist

  • MySQL is running and reachable from the Minecraft server.
  • A database exists for the plugin.
  • A dedicated SQL user has access to that database only.
  • You recorded the exact hostname, port, database name, username and password.
  • The plugin’s documented MySQL setting is enabled.
  • All YAML text values are quoted and indentation uses spaces.
  • You backed up the old local data before attempting migration.
  • After restarting, the console shows the MySQL provider loading without errors.
  • A test change survives another restart.

The Bottom Line

MySQL is most useful when a Minecraft plugin’s data must be shared across servers. Create a restricted database account, use the exact connection details supplied by your host, configure the plugin according to its own versioned documentation, back up existing data and verify the provider in the startup log.

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.