Database
How to create a database in cPanel?
Here are the steps to log into your Databases: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area. In the Databases section of the cPanel control panel, click the MySQL Databases icon. Under CreateSome readersHow to set up a remote MySQL access via cPanel?
Before you can remotely connect to your databases, the IP operating via a remote connection must be allowed on your cPanel account. Here are the steps to configure a remote MySQL access: Log in to your cPanel account (via your customer account or https://www.bmoname.com:2083). In the Databases sectionFew readersHow to access phpMyAdmin via cPanel?
phpMyAdmin is a powerful tool for managing your database content. It is accessible via your cPanel hosting control panel. Here’s how to access phpMyAdmin. The steps to follow in order to access phpMyAdmin via cPanel: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client aFew readersHow to connect to a MySQL database?
In order for the MySQL database to work, you will first need either to use a calling script or to query the database for the information it stores. To do this, you need to connect your script to the database using a configuration file. What are my database configuration settings? Platforms like WordPress, WHMCS, and Joomla usually have a default configuration file ready for you to edit with the appropriate infFew readersHow to repair database via phpMyAdmin in cPanel?
Here are the steps to repair database via phpMyAdmin in cPanel: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area. In the Databases section, click on the phpMyAdmin icon. Under your [cPanel](https:Few readersHow to delete database table via phpMyAdmin in cPanel?
Here are the steps to delete database table via phpMyAdmin in cPanel: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area. In the Databases section, click on phpMyAdmin Icon. Under your [cPanel](httpFew readersHow to optimize the database via phpMyAdmin in cPanel?
Here are the steps to optimize the database via phpMyAdmin in cPanel: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area. In the Databases section, click on the phpMyAdmin icon. Under your [cPanel](Few readersHow to create a MySQL database?
MySQL is a popular relational database management system (RDBMS), offering a variety of practical tools. It can be used to create, edit and extract data from relational databases. To do this, it uses the SQL programming language. It can also be used to control each user’s access to a database. Here are the steps to create a MySQL database: [Log into your cPanel interface](https://help.ex2.com/en/article/how-to-loFew readersHow do I create a database username in cPanel?
Here are the steps to create a database username: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area. In the Databases section of cPanel, click on MySQL Databases Icon. , offering a variety of practical tools. It can be used to create, edit and extract data from relational databases. To do this, it uses the SQL programming language. It can also be used to control each user’s access to a database. However, there may be a problem with your databases. In this case, you may have to repair them. Fortunately, the process is verFew readersHow to edit database table via phpMyAdmin in cPanel?
Here are the steps to edit database table via phpMyAdmin in cPanel: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area. In the Databases section, click on the phpMyAdmin icon. Under your [cPanel](htFew readersHow to import database via phpMyAdmin in cPanel?
Here are the steps to import database via phpMyAdmin in cPanel: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area. In the Databases section, click on phpMyAdmin Icon. Under your [cPanel](https://heFew readersHow to export database table via phpMyAdmin in cPanel?
Here are the steps to export database table via phpMyAdmin in cPanel: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area. In the Databases section, click on phpMyAdmin Icon. Under your [cPanel](httpFew readersHow to back up your MySQL database?
The Ex2 system offers you two different ways to back up your MySQL database: by using the backup wizard you will find on the cPanel, or by using phpMyAdmin. Back up your MySQL database using the cPanel Backup Wizard Ex2 provides you with a very complete backup wizard that you will find in your cPanel. This backup wizard allows you to back up your entire website, including your database, or to back up only certain elFew readersHow to add a user and his privileges to a database?
Here are the steps to add a user and his privileges to a database: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area. In the Databases section, click on MySQL Databases Icon. Scroll down to the enFew readersHow to rename a database in cPanel?
Here are the steps to change the name of your database: Log into your cPanel interface "https://www.domainname.com:2083" or by going through your client area. In the Databases section of cPanel, click on MySQL Databases Icon.  file is a unique configuration element that controls the operation and execution of a web server. Only some servers support the use of .htaccess, including sites running Apache. The file, however, plays an important role in keeping your site accessible. WordPress software adds a list of directories to a web server at each installation on a hosting account. Core directories include wp-admin, which stores administrative files, and wp-contSome readersHow to change the PHP version of a folder or subdomain?
If you want to update the PHP version applicable to your account, you can do so directly from cPanel. You can also modify the PHP version for only one of your domains, subdomains or folders. Simply add a line of code to the .htaccess. Steps to change the PHP version of a folder or subdomain [Log in to your cPanel account](https://help.ex2.com/en/article/how-to-log-in-to-my-cpanel-accountSome readersHow to restrict directory access by IP address?
Here's how to restrict directory access by IP address To secure your admin area from hackers, we recommend that you allow access only from a selected IP address to your admin directory. You need to create a .htaccess file in the directory where you want to restrict access to specific IP addresses. For example, if you have a WordPress blog installed on your main directory and log in via example.com/wp-admin, you should create an .htaccess file in /wp-admin/.htaccess, and you should puFew readersHow to create a .htaccess file?
Steps to create and upload a .htaccess file You can create a file . htaccess with any text editor (Notepad, MS Word, etc.). You must aboslutely name the file exactly .htaccess otherwise it won't work. It is necessary to include a dot in front of the name to hide the file. Use your favorite text editor, create a file named .htaccess on your desktop or any other local folder. AdFew readersHow to redirect a page to another page or website using htaccess?
If a page on your website no longer exists and you want to redirect it to your new page or site, then you can use the .htaccess file for redirection without waiting. Redirect from a page/directory to another domain or the main domain: Redirect from a specific page to a domain: RewriteEngine on Redirect 301 /mypage.html http://example.com Redirect from a page to another page: `Redirect from a page/directory to another page Redirect 301 /oldpage.html /newpage.html` NoFew readersHow to create a user-friendly url using htaccess?
If your website is using long URL like example.com/files/folder/sitemap.html, you can change it into "example.com/sitemap" in .htaccess Here's how to create a user-friendly url using htaccess Modify this line according to your needs and then add this code to your .htaccess file. RewriteEngine on\ RewriteRule ^sitemap/$ /files/folder/sitemap.html [L]Few readersHow to redirect non-www urls to www?
Redirecting non-www requests to the www version of your website URL is good for SEO. Not only will this help you avoid duplicating content on Google, but it will also avoid splitting your inbound links on 2 different URLs. In this article, we will learn how to redirect non-www URLs to www URLs using the .htaccess file in your public_html folder. Here's how to redirect non-www urls to www Editing the .htaccess file To redirect a non-www url to www, we need to add a rule in the .htaccessFew readersHow to disable browsing on a directory with htaccess?
Here's how to disable browsing on a directory with htaccess For security purposes, we recommend that you disable directory browsing on your website so no one can see the files/folders of your website. You can disable Directory Browsing by adding this line to your .htaccess file. Options -IndexesFew readersHow to protect your htaccess file?
For security purposes, we recommend you to prevent access to your .htaccess file from unauthorized access. Add this code to your .htaccess file: # .htaccess protection order allow, deny deny from all satisfy allFew readersHow to protect your .htaccess file?
Here's how to protect your .htaccess file For security purposes, we recommend you to prevent access to your .htaccess file from unauthorized access. Add this code to your .htaccess file: # .htaccess protection order allow, deny deny from all satisfy allFew readersHow to ban any IP address via htaccess?
Here's how to ban any IP address via htaccess If someone is trying to hack your website or you want to block their IP Address, you can add this line to your .htaccess file. order allow, deny deny from IP-ADDRESS allow from all Replace "IP-ADDRESS" with the IP Address you want to block.Few readersHow to fix a PHP error: maximum size allowed for memory of x bytes exhausted?
Here's how to fix a PHP error: maximum size allowed for memory of x bytes exhausted If you are getting a PHP error like "Allowed memory size of... in file /directory/folder/yourscript.php", then you can use a .htaccess trick to resolve this problem. If this error does not go away even after applying this .htaccess code, you should contact us, and we will help you. Place this code in the .htaccFew readers
How to use SSH access on Ex2 hosting?
Validate your access To benefit from SSH access on your Ex2 hosting, and for security reasons, please contact support by providing us with a copy of your identity document. Once your access is unlocked, there are three methods to authenticate yourself: with a username and password ("classic" method) with an SSH key or directly (autologin) in the terminal available on your cPanel For the SPopularWhat are the differences between SSH and FTP ?
SSH (or Secure Shell) is a cryptographic network protocol used to secure network connections over an unsecured network. To use SSH, you must use an SSH client to connect to the server. Once logged in, you can manually run commands in a terminal application. All connections within your SSH client go through a secure connection rather than plain text. As a result, the connection is encrypted and secure.Few readersHow to do a backup of your Ex2 website?
*For security purposes, it is essential that you regularly back up, locally or on a hard drive, all the folders and files that make up your website. Ex2 provide you with a very complete backup wizard accessible directly from the cPanel to give you a perfectly secure service. This service will allow you to very easily and quickly create a backup of all the files on your website, or only certain parts, then download the archive created on your computer in order to guarantee maximum security (you cFew readersHow do I restore my website?
To restore a backup of your website to a given date, you need to: 1- Restore your files Log in to your cPanel, click on "Jetbackup" Select "File backups" Choose the date that suits you, then "FiFew readersHow do I download the free backups from ex2 hosting plans?
When you purchase a CMS plan, shared, Ecommerce or Wordpress with Ex2, you automatically have daily free backups. We keep the last 6 days as well as a backup on D-15 and D-30 For example, if it is July 28, you will have access to these backups: July 1, July 14 and July 22-23-24-25-26-27. Here’s how to download a backup of your site from cPanel. Log in to your cPanel account. Go to tFew readersHow can I see the PHP limitations for my account?
Here's how to view the PHP limitations on your server's phpinfo page: log into your cPanel then in your File Manager, create the phpinfo.php file in your public_html folder. You need to add the following code to your newly created phpinfo.php file: <?php // Show all information, defaults to INFO_ALL phpinfo(); ?> Save and close the file. Once it's done, call this file by gFew readersWhich folder should I use, public_html or www?
About the public_html and www folders The public_html and www directories as the same function. We invite you to drop the content of your website in the "public_html" directory. At Ex2, we recommend Filezilla or FlashFXP software for uploading content to your website. However, hundred of softwares are compatible with our servers. If you have any questions, please do not hesitate to contact us.Few readers
