Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server
Xernode/ Blog/#mysql

Blog

#mysql

Posts tagged with “mysql”.

How to Verify That Your MySQL Backup Can Be Restored

  • Xernode
  • 4-minute read
  • mysql

Many backups fail silently: a dump cut short due to lack of space, a table that doesn't fit, or an expired password. You only discover this when you try to restore the data, and if that's the day of the disaster, it's already too late. In this guide, you’ll restore your MySQL or MariaDB backup to a test environment, verify that it’s complete, and schedule the drill.

… Read the complete guide

How to Install phpMyAdmin

  • Xernode
  • 1-minute read
  • mysql

phpMyAdmin makes MySQL/MariaDB management easier in the browser. Treat it as a sensitive panel: HTTPS and restricted access.

Steps

  1. Update and install the package (Apache or nginx+php-fpm depending on your stack).

    sudo apt update
    sudo apt install -y phpmyadmin
  2. Enable Apache bits if needed and reload.

… Read the complete guide

How to Reset MySQL Root Password

  • Xernode
  • 1-minute read
  • mysql

If you forgot the MySQL/MariaDB root password, restart without privilege tables, set a new hash, then return to normal mode.

Steps

  1. Stop MariaDB/MySQL:

    sudo systemctl stop mariadb
  2. Start in recovery mode (MariaDB example):

    sudo mysqld_safe --skip-grant-tables --skip-networking &

Tips

… Read the complete guide

How to Install WordPress on a VPS

  • Xernode
  • 1-minute read
  • nginx

WordPress on a VPS gives full control (plugins, cache, SSL). You need a web server, PHP, MySQL and the WordPress files.

Steps

  1. Install PHP and common extensions (Nginx already installed example):

    sudo apt update
    sudo apt install -y php-fpm php-mysql php-xml php-curl php-gd php-mbstring unzip
  2. Create the database and a MySQL user:

… Read the complete guide