Databases and PHP
Create MySQL databases, use the database tool and choose a PHP version.
13 guides
- How to create a database for your website Create a MariaDB database in the control panel for WordPress or your own PHP script, and save the username and password before you close the window.
- Find the host name, port and username for your database See which values your website needs to connect to a Sitewig database, with examples for wp-config.php and your own PHP scripts.
- Open and manage your database in Database tool View tables, edit data and run SQL right in the browser with Sitewig's Database tool – our alternative to phpMyAdmin, built on Adminer.
- Import a database (SQL file) to Sitewig Move a database from another provider to Sitewig by importing an SQL file in Database tool, with checks for the file and fixes for typical errors.
- Export or make a copy of your database Download a copy of your database as an SQL file in Database tool, or use the automatic daily backups, which are kept for 30 days.
- Restore a database from a backup If you've deleted or damaged data, you can put an older version of the database back yourself from the daily backups under Web hosting → Backup.
- Reset the password for your database If you've lost the database password, you create a new one under Web hosting → Databases. Here are the steps, and what to update afterwards so your website works.
- Delete a database you no longer use Remove an old database under Web hosting → Databases and free up a slot in your plan. Make a copy first – deletion can't be undone.
- Fix 'Error establishing a database connection' in WordPress If your WordPress site shows a database error, go through the four typical causes at Sitewig (status, host, name and password) and get the site back up.
- Can I connect to the database from my own computer? Sitewig's databases are closed to outside access for security reasons. See what you can use instead, e.g. Database tool or export and import.
- Change the PHP version on your web hosting Choose between PHP 8.2, 8.3 and 8.4 under Web hosting → PHP. The version applies to all websites on the web hosting and can always be changed back.
- Why you should keep PHP up to date, and how to fix errors after a switch See when PHP 8.2, 8.3 and 8.4 stop receiving security fixes, and how to find and fix errors if your website misbehaves after a switch.
- PHP limits: memory, upload size and run time See memory_limit, upload_max_filesize, run time and the number of PHP processes on Sitewig web hosting, and what to do when your website hits a limit.
Didn't find the answer?
Reply within 1 working day · Mon–Fri 8:00–17:00 CET