[{"data":1,"prerenderedAt":31},["ShallowReactive",2],{"doc-en-manage-database-phpmyadmin-plesk":3},{"path":4,"slug":5,"title":6,"description":7,"category":8,"subcategory":9,"icon":10,"date":11,"author":12,"order":13,"image":14,"tags":15,"keywords":21,"docGroup":28,"docGroupIcon":28,"link_fr":29,"bodyHtml":30},"\u002Fdocs\u002Fen\u002Fcloud\u002Fhebergement-web\u002Fmanage-database-phpmyadmin-plesk","manage-database-phpmyadmin-plesk","How to Manage Your Database with phpMyAdmin on Plesk","Create a MySQL or MariaDB database on Winheberg Plesk web hosting, find its connection details, open phpMyAdmin, export and import a .sql file without losing data.","cloud","hebergement-web","tabler:file-text","2026-11-02","Winheberg",146,"\u002Fstatics\u002Fimages\u002Fdocs\u002Fen\u002Fhebergement-web\u002Fmanage-database-phpmyadmin-plesk.webp",[16,17,18,19,20],"Database","phpMyAdmin","MySQL","Plesk","Web Hosting",[22,23,24,25,26,27],"phpmyadmin","mysql database","import sql file","export database","mariadb plesk","sql dump","","\u002Fdocs\u002Fhebergement-web\u002Fgerer-base-donnees-phpmyadmin-plesk","\u003Ch2>Context\u003C\u002Fh2>\n\u003Cp>Most dynamic websites, such as WordPress, Joomla, Azuriom or a Laravel application, store their content in a MySQL or MariaDB database. Knowing how to create, back up and restore it helps with every installation, migration or delicate update.\u003C\u002Fp>\n\u003Cp>On your \u003Ca href=\"https:\u002F\u002Fwinheberg.com\u002Fen\u002Fcloud\u002Fweb-hosting\">Winheberg web hosting\u003C\u002Fa>, Plesk manages your databases and gives access to phpMyAdmin, the reference tool to browse and edit their content from the browser.\u003C\u002Fp>\n\u003Cp>This guide covers creating a database, its connection details, accessing phpMyAdmin, exporting and importing a \u003Ccode>.sql\u003C\u002Fcode> file, and the most common errors.\u003C\u002Fp>\n\u003Cdiv class=\"markdown-alert markdown-alert-note\">\u003Cspan class=\"alert-icon\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"10\"\u002F>\u003Cline x1=\"12\" y1=\"16\" x2=\"12\" y2=\"12\"\u002F>\u003Cline x1=\"12\" y1=\"8\" x2=\"12.01\" y2=\"8\"\u002F>\u003C\u002Fsvg>\u003C\u002Fspan>\u003Cdiv class=\"markdown-alert-body\">\u003Cp>The Winheberg Plesk panel is displayed in French. Menu, field and button names are quoted below exactly as they appear on screen, followed by their English meaning.\u003C\u002Fp>\n\u003C\u002Fdiv>\u003C\u002Fdiv>\n\u003Ch2>Prerequisites\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>A Winheberg web hosting plan with access to the Plesk panel\u003C\u002Fli>\n\u003Cli>For an import, the \u003Ccode>.sql\u003C\u002Fcode> file or the archive of your database\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>1. Create a database\u003C\u002Fh2>\n\u003Cp>Open \u003Cstrong>Bases de données\u003C\u002Fstrong> (\u003Cem>Databases\u003C\u002Fem>) in the side menu, then click \u003Cstrong>Ajouter une base de données\u003C\u002Fstrong> (\u003Cem>Add Database\u003C\u002Fem>).\u003C\u002Fp>\n\u003Cimg src=\"\u002Fstatics\u002Fimages\u002Fdocs\u002Fen\u002Fhebergement-web\u002Fmanage-database-phpmyadmin-plesk-1793569971905-24a42ff4f68cab6be7c4f7e4.webp\" alt=\"Plesk Add Database form\" width=\"624\" \u002F>\n\n\u003Cdiv class=\"md-table md-table--info md-table--striped\">\u003Cdiv class=\"md-table__caption\">Form fields\u003C\u002Fdiv>\u003Cdiv class=\"md-table__scroll\">\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Field\u003C\u002Fth>\n\u003Cth>What to enter\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>Nom de la base de données (\u003Cem>Database name\u003C\u002Fem>)\u003C\u002Ftd>\n\u003Ctd>The name of your choice, Plesk adds a prefix specific to your account in front\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Site associé (\u003Cem>Related site\u003C\u002Fem>)\u003C\u002Ftd>\n\u003Ctd>The domain that will use the database\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Nom de l&#39;utilisateur de la base de données (\u003Cem>Database user name\u003C\u002Fem>)\u003C\u002Ftd>\n\u003Ctd>A user name dedicated to this database\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Mot de passe (\u003Cem>Password\u003C\u002Fem>)\u003C\u002Ftd>\n\u003Ctd>Click \u003Cstrong>Générer\u003C\u002Fstrong> (\u003Cem>Generate\u003C\u002Fem>) to get a strong password, and write it down\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003C\u002Fdiv>\u003C\u002Fdiv>\n\u003Cp>Confirm with \u003Cstrong>Créer la base de données\u003C\u002Fstrong> (\u003Cem>Create database\u003C\u002Fem>).\u003C\u002Fp>\n\u003Ch2>2. Find the connection details\u003C\u002Fh2>\n\u003Cp>In the database list, each database shows its actions and, at the bottom, the \u003Cstrong>Hôte\u003C\u002Fstrong> (\u003Cem>Host\u003C\u002Fem>), \u003Cstrong>Utilisateur\u003C\u002Fstrong> (\u003Cem>User\u003C\u002Fem>), number of \u003Cstrong>Tableaux\u003C\u002Fstrong> (\u003Cem>Tables\u003C\u002Fem>) and \u003Cstrong>Taille\u003C\u002Fstrong> (\u003Cem>Size\u003C\u002Fem>).\u003C\u002Fp>\n\u003Cimg src=\"\u002Fstatics\u002Fimages\u002Fdocs\u002Fen\u002Fhebergement-web\u002Fmanage-database-phpmyadmin-plesk-1793616257011-63f449eb0d7e349624d6ed37.webp\" alt=\"Database card in Plesk with phpMyAdmin, export and import\" width=\"800\" \u002F>\n\n\u003Cp>Click \u003Cstrong>Infos de connexion\u003C\u002Fstrong> (\u003Cem>Connection info\u003C\u002Fem>) to show the values to enter in your website configuration.\u003C\u002Fp>\n\u003Cdiv class=\"md-table md-table--info md-table--striped\">\u003Cdiv class=\"md-table__caption\">Connection details\u003C\u002Fdiv>\u003Cdiv class=\"md-table__scroll\">\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Value\u003C\u002Fth>\n\u003Cth>Example\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>Hôte (\u003Cem>Host\u003C\u002Fem>)\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>localhost:3306\u003C\u002Fcode>, meaning host \u003Ccode>localhost\u003C\u002Fcode> and port \u003Ccode>3306\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Nom de la base de données (\u003Cem>Database name\u003C\u002Fem>)\u003C\u002Ftd>\n\u003Ctd>The full name, prefix included\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Nom de l&#39;utilisateur (\u003Cem>User name\u003C\u002Fem>)\u003C\u002Ftd>\n\u003Ctd>The user created with the database\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Mot de passe (\u003Cem>Password\u003C\u002Fem>)\u003C\u002Ftd>\n\u003Ctd>The one chosen at creation\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003C\u002Fdiv>\u003C\u002Fdiv>\n\u003Ch2>3. Open phpMyAdmin\u003C\u002Fh2>\n\u003Cp>On the database card, click \u003Cstrong>phpMyAdmin\u003C\u002Fstrong>. The tool opens in a new tab, already connected to the database, without typing a password.\u003C\u002Fp>\n\u003Cp>The left column lists the database tables. Click a table to browse its rows, the top tabs let you run an SQL query, export or import.\u003C\u002Fp>\n\u003Cdiv class=\"markdown-alert markdown-alert-caution\">\u003Cspan class=\"alert-icon\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"10\"\u002F>\u003Cline x1=\"12\" y1=\"8\" x2=\"12\" y2=\"12\"\u002F>\u003Cline x1=\"12\" y1=\"16\" x2=\"12.01\" y2=\"16\"\u002F>\u003C\u002Fsvg>\u003C\u002Fspan>\u003Cdiv class=\"markdown-alert-body\">\u003Cp>phpMyAdmin changes your website data directly, with no way back. Always export the database before deleting or editing rows.\u003C\u002Fp>\n\u003C\u002Fdiv>\u003C\u002Fdiv>\n\u003Ch2>4. Export the database to a file\u003C\u002Fh2>\n\u003Cp>On the database card, click \u003Cstrong>Exporter le dump\u003C\u002Fstrong> (\u003Cem>Export Dump\u003C\u002Fem>).\u003C\u002Fp>\n\u003Cimg src=\"\u002Fstatics\u002Fimages\u002Fdocs\u002Fen\u002Fhebergement-web\u002Fmanage-database-phpmyadmin-plesk-1793616257356-66598b44889b859e1549df97.webp\" alt=\"Export Dump window of a database in Plesk\" width=\"630\" \u002F>\n\n\u003Cp>Choose the folder of your webspace that will receive the file in \u003Cstrong>Enregistrer le dump dans le répertoire suivant\u003C\u002Fstrong> (\u003Cem>Save the dump to the following directory\u003C\u002Fem>), keep or change the \u003Cstrong>Nom de fichier du dump\u003C\u002Fstrong> (\u003Cem>Dump file name\u003C\u002Fem>), then tick \u003Cstrong>Télécharger automatiquement le dump après sa création\u003C\u002Fstrong> (\u003Cem>Automatically download the dump after creation\u003C\u002Fem>) to get a copy on your computer. Confirm with \u003Cstrong>Exporter le dump\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cp>Plesk produces a \u003Ccode>.sql.zip\u003C\u002Fcode> archive, which you also find in the chosen folder from the \u003Cstrong>Fichiers\u003C\u002Fstrong> (\u003Cem>Files\u003C\u002Fem>) manager.\u003C\u002Fp>\n\u003Cdiv class=\"markdown-alert markdown-alert-tip\">\u003Cspan class=\"alert-icon\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"10\"\u002F>\u003Cpath d=\"M12 16v-4\"\u002F>\u003Cpath d=\"M12 8h.01\"\u002F>\u003C\u002Fsvg>\u003C\u002Fspan>\u003Cdiv class=\"markdown-alert-body\">\u003Cp>For a small database, the \u003Cstrong>Exporter\u003C\u002Fstrong> (\u003Cem>Export\u003C\u002Fem>) tab of phpMyAdmin gives the same result in one click, with the \u003Cstrong>Rapide\u003C\u002Fstrong> (\u003Cem>Quick\u003C\u002Fem>) method and the \u003Cstrong>SQL\u003C\u002Fstrong> format.\u003C\u002Fp>\n\u003C\u002Fdiv>\u003C\u002Fdiv>\n\u003Ch2>5. Import a file into the database\u003C\u002Fh2>\n\u003Cp>On the database card, click \u003Cstrong>Importer le dump\u003C\u002Fstrong> (\u003Cem>Import Dump\u003C\u002Fem>).\u003C\u002Fp>\n\u003Cimg src=\"\u002Fstatics\u002Fimages\u002Fdocs\u002Fen\u002Fhebergement-web\u002Fmanage-database-phpmyadmin-plesk-1793616257679-e28a3255d2d8e7ff30a3d56d.webp\" alt=\"Import Dump window of a database in Plesk\" width=\"630\" \u002F>\n\n\u003Cp>Choose \u003Cstrong>Téléverser un dump depuis votre ordinateur local\u003C\u002Fstrong> (\u003Cem>Upload a dump from your local computer\u003C\u002Fem>) and select your file, or \u003Cstrong>Importer un dump stocké sur votre serveur d&#39;hébergement\u003C\u002Fstrong> (\u003Cem>Import a dump stored on your hosting server\u003C\u002Fem>) if you have already uploaded it to your files. Confirm with \u003Cstrong>Importer le dump\u003C\u002Fstrong>.\u003C\u002Fp>\n\u003Cdiv class=\"markdown-alert markdown-alert-warning\">\u003Cspan class=\"alert-icon\">\u003Csvg xmlns=\"http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\u003Cpath d=\"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z\"\u002F>\u003Cline x1=\"12\" y1=\"9\" x2=\"12\" y2=\"13\"\u002F>\u003Cline x1=\"12\" y1=\"17\" x2=\"12.01\" y2=\"17\"\u002F>\u003C\u002Fsvg>\u003C\u002Fspan>\u003Cdiv class=\"markdown-alert-body\">\u003Cp>The \u003Cstrong>Recréer la base de données\u003C\u002Fstrong> (\u003Cem>Recreate the database\u003C\u002Fem>) box is ticked by default. It empties the database completely before the import, all existing tables are deleted. Untick it only if you want to add tables to a database that must keep its content.\u003C\u002Fp>\n\u003C\u002Fdiv>\u003C\u002Fdiv>\n\u003Cp>For a large file, first upload it to your webspace with our guide \u003Ca href=\"https:\u002F\u002Fwinheberg.com\u002Fen\u002Fdocs\u002Fhebergement-web\u002Fconnect-ftp-filezilla-plesk\">How to Connect to Your Plesk Hosting over FTP with FileZilla\u003C\u002Fa>, then choose \u003Cstrong>Importer un dump stocké sur votre serveur d&#39;hébergement\u003C\u002Fstrong>. The import then no longer depends on the upload size allowed by the browser.\u003C\u002Fp>\n\u003Ch2>Troubleshooting\u003C\u002Fh2>\n\u003Ch3>❌ The import fails with &quot;#1044 - Access denied for user&quot;\u003C\u002Fh3>\n\u003Cp>The file tries to create or select a database with a different name from yours.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Open the \u003Ccode>.sql\u003C\u002Fcode> file in a text editor\u003C\u002Fli>\n\u003Cli>Delete the \u003Ccode>CREATE DATABASE\u003C\u002Fcode> and \u003Ccode>USE\u003C\u002Fcode> lines at the beginning\u003C\u002Fli>\n\u003Cli>Run the import into your database again\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>❌ The import fails with &quot;#1273 - Unknown collation&quot;\u003C\u002Fh3>\n\u003Cp>The file comes from a more recent MySQL server, whose collation does not exist on MariaDB.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>In the \u003Ccode>.sql\u003C\u002Fcode> file, replace \u003Ccode>utf8mb4_0900_ai_ci\u003C\u002Fcode> with \u003Ccode>utf8mb4_unicode_ci\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>Run the import again with \u003Cstrong>Recréer la base de données\u003C\u002Fstrong> ticked\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch3>❌ The website shows &quot;Error establishing a database connection&quot;\u003C\u002Fh3>\n\u003Cp>The website cannot connect to its database, often after a migration.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Compare the values of the website configuration with \u003Cstrong>Infos de connexion\u003C\u002Fstrong>\u003C\u002Fli>\n\u003Cli>Check that the database name and the user name include the prefix added by Plesk\u003C\u002Fli>\n\u003Cli>Use \u003Ccode>localhost\u003C\u002Fcode> as host\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Best practices\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>Export the database before every significant update of your website\u003C\u002Fli>\n\u003Cli>Create a different user for each database, a compromised website then only reaches its own data\u003C\u002Fli>\n\u003Cli>Keep your database passwords in a password manager\u003C\u002Fli>\n\u003Cli>Delete the \u003Ccode>.sql\u003C\u002Fcode> and \u003Ccode>.sql.zip\u003C\u002Fcode> files from your webspace once done, especially if they sit in \u003Ccode>httpdocs\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>To schedule complete backups of your website, database included, follow our guide \u003Ca href=\"https:\u002F\u002Fwinheberg.com\u002Fen\u002Fdocs\u002Fhebergement-web\u002Fbackup-restore-website-plesk\">How to Back Up and Restore Your Website on Plesk\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2>Need help?\u003C\u002Fh2>\n\u003Cp>If an import or export still fails, open a ticket with our support from your \u003Ca href=\"https:\u002F\u002Fbilling.winheberg.com\">client area\u003C\u002Fa>, \u003Cstrong>Technical\u003C\u002Fstrong> department, filling in the \u003Cstrong>Related Product\u003C\u002Fstrong> field with the web hosting concerned. Mention the database name and the full error message.\u003C\u002Fp>\n\u003Cp>Your data is under control, ready to follow your website anywhere 🗄️\u003C\u002Fp>\n",1794526351002]