What host name enter to access my database?
en:What host name enter to access my database?
he:איזה שם מארח הזן גישה למסד הנתונים שלי?
ru:Какое имя узла введите для доступа к моей базе данных?
ja:どのようなホスト名を入力自分のデータベースにアクセスするか。
ar:ما هو اسم المضيف أدخل للوصول إلى قاعدة البيانات الخاصة بي؟
zh:主机名称是什么输入来访问我的数据库?
ro:Ce nume de gazdă enter pentru a accesa baza de date meu?
pl:Jaka nazwa hosta wpisz dostępu do mojej bazy danych?
de:Welche Hostnamen eingeben um meine Datenbank zugreifen?
nl:Wat hostnaam Voer voor toegang tot mijn database?
it:Quale nome host immettere per accedere al mio database?
pt:O nome do host enter para acessar meu banco de dados?
es:¿Qué nombre de host enter para acceder a mi base de datos?
fr:Quel nom d'hôte indiquer pour accéder à ma BDD ?
This article has been created by an automatic translation software. You can view the article source here.
Introduction
You use a CMS or a script that tries to establish a connection to a MySQL database.
However, an error message tells you that the host name is incorrect or missing.
The purpose of this article is to tell you what name use so that your CMS or your script properly establishes the connection to the database
Place
In the configuration file of your CMS or in your script you will find a line of the type : $SQL_HOST = "";
Need to change this line in : $SQL_HOST = "localhost ";
Conclusion
The host name to be used to establish a connection to the database is : localhost
By editing the configuration file or the script to specify the name, the connection will be properly.
We invite you however to verify that the name of the database, the login and the password are valid.
This article seemed you to be useful ?
Enable comment auto-refresher