Bases de données - Accès à ma base de données via le terminal de commande
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Accès à ma base de données via le terminal de commande

Von
OceaneC1
Erstellungsdatum 2018-12-07 14:47:00 (edited on 2024-09-04 12:18:11) in Bases de données

Bonjour

Impossible d'accéder à ma base de données via le terminal de commande

> mysql -u **id -h **id.mysql.db
ERROR 2005 (HY000): Unknown MySQL server host '**id.mysql.db' (0)

alors que j'y accède sans problème via PhpMyAdmin.

Je n'arrive pas non plus à y accéder en tournant un script php $con=mysqli_connect("**id.mysql.db","**id","mot_de_passe","db_name");

Merci d'avance pour votre aide !
PS. hébergement Kimsufi


Antworten sind derzeit für diese Frage deaktiviert.