How to import a database on LWS shared hosting with phpMyAdmin

Procédure

Introduction

Importing a database on LWS Panel shared hosting is an important operation for transferring your website. This operation can be performed quickly and easily using PHP My Admin, a web application that allows you to interact with MySQL databases.

In this documentation, we explain how to import a database on LWS shared hosting using phpMyAdmin. We present the steps required to prepare your database, connect to phpMyAdmin and import your database.

Preparing the database to be imported

Before you can start importing your database onto your LWS shared hosting via phpMyAdmin, you need to prepare your database.

Whether your site or application is created locally or hosted by another host, you will first need to export your database. To do this, we suggest you use the database management tool you used to create and manage it. Your database must be exported in SQL format.

[tips_warning]If the size of your database export reaches 100MB, it will be too large to work with the method we will look at below. I therefore recommend that you follow this documentation to export your database: How do I import a large database into the LWS Panel?

Creating the database on the LWS Panel

To import your database on your LWS Panel shared hosting, you must first create a new blank database to accommodate the exported data. If you do not wish to use the database provided with your service, you can follow the steps below to create a new one:

1. Log in to your LWS customer area

To access your customer area, simply follow this link and enter your login details: https: //panel.lws.fr

2. Access your service management via the "Manage" button

How to import a database on LWS shared hosting with phpMyAdmin

3. In the "Database & PHP" section, click on the "MySql & PhpMyadmin" button.

How to import a database on LWS shared hosting with phpMyAdmin

4. Click on the "Click here to create a MySql database" button to create the new database.

How to import a database on LWS shared hosting with phpMyAdmin

Once your database has been created, you will receive all the information relating to it by e-mail. Make sure you keep all this information safe, especially the database name, user name and password. You will need them later when you import the data.

Importing your data into the LWS Panel database

At this stage, you have a database ready for data import. You can use either the database delivered with your service or the one you created in the previous step. To import your data, follow the steps below:

1. In the "Database & PHP" section of your LWS panel, click on "MySql & PhpMyadmin".

How to import a database on LWS shared hosting with phpMyAdmin

2. Connect to phpMyAdmin

Click on the "PhpMyAdmin" button, then connect using the database details you received by email on delivery or when you created the database (depending on what you did before).

How to import a database on LWS shared hosting with phpMyAdmin

3. Click on the name of the database you created in the previous section and then click on Import in the links at the top of the page.

How to import a database on LWS shared hosting with phpMyAdmin

4. Click on the Choose a file button and browse for your export file. Open the file. Then click on the Import button.

How to import a database on LWS shared hosting with phpMyAdmin

5. Wait a few seconds for the import to complete.

How to import a database on LWS shared hosting with phpMyAdmin

Your database has now been imported to your LWS Panel hosting. Don't forget to modify the file containing your connection information, indicating :

  • Host: Localhost
  • Base: The name of the database you created on LWS Panel
  • Username: The username you created and linked to on LWS Panel
  • Password: The password you generated for the username.

Can LWS do this for you?

Yes, LWS can perform this task for you, but only through a paid managed service. In fact, LWS can provide management and maintenance services for your infrastructure for an additional fee. If you are interested in this service, we can provide you with more information on the different options available and the associated costs.

You can set up a managed service with LWS from €9.99 from the LWS Panel control panel in the Support section. I invite you to follow this documentation to help you set up your outsourcing.

help.lws.net/a/1688
Was this article helpful?

Yes

No

Read 13 191 times

Thank you! Feel free to ask questions about our documentation if you would like more information, and help us improve it.

Similar articles

Questions about the article 1

Ask a question
LWS-661397 LWS team
25 Feb 2024
Comment modifier les informations relatives à ma base de données que je viens d'importer?
Jordan-LWS Official answer
26 Feb 2024

Bonjour,

je vous remercie pour votre message, si vous souhaitez modifier des informations sur votre base de données, il sera nécessaire de passer par votre espace phpMyAdmin, depuis cette interface vous serais en mesure d'effectuer certaines modifications que vous souhaitez.

Il est à noter que si vous disposez d'une formule de type cPanel, il faudra suivre cette documentation.

Si vous avez besoin d'assistance supplémentaire, notre équipe de support technique est disponible par le biais de l'assistance dans votre espace client.

Je vous remercie pour votre attention et reste à votre disposition pour toute autre question ou complément d'information. Nous sommes là pour vous aider et vous accompagner dans l'édition de vos bases de données.

Cordialement, L'équipe LWS 

Was this answer helpful?

A question about this article?

Ask the LWS team and the community. Answers are published after moderation.

Ask the LWS team and its community a question

GDPR: Controller: LWS-Ligne Web Services. Purpose: moderation and public publication of your question, possible notification of an answer. Legal basis: consent (Art. 6(1)(a) GDPR). Email retention: 90 days after notification, 12 months maximum without an answer. To exercise your rights, see the GDPR section of our Terms and Conditions.