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.
Question

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

by
OceaneC1
Created on 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


Replies are currently disabled for this question.