WebSite X5Help Center

 
Patrick S.
Patrick S.
User

Connecting Database Viewer to Database (php myadmin)  en

Auteur : Patrick S.
Visité 1547, Followers 1, Partagé 0  

Hi,

WebsiteX5 is hosting my website.

I wanted to check how to use Database viewer. So i imported a table into the database (phpMyAdmin) called 'sort' and wanted to show this on a testpage on my website. 

Problem is i can't seem to find the right settings in Database viewer to do so successfully.

Plz help.

I'll try to attach some screenshots.

Posté le
10 RéPONSES
Andre E
Andre E
Moderator
Meilleur utilisateur du mois EN

Patrick,

Check the needed info for you database -if you use x5- here: https://hosting.websitex5.com/panel/

With this data in the database viewer it should work.

Lire plus
Posté le de Andre E
Patrick S.
Patrick S.
User
Auteur

Nope,

i tried every possible combination for hostname / databasename / username

Can't seem to make it work.

This is the database:...

Lire plus
Posté le de Patrick S.
Patrick S.
Patrick S.
User
Auteur

And this is the error message...

Lire plus
Posté le de Patrick S.
Patrick S.
Patrick S.
User
Auteur

And this is my panel you talk about...

Lire plus
Posté le de Patrick S.
Andre E
Andre E
Moderator
Meilleur utilisateur du mois EN

And all settings are correct in database viewer itself?


ook PW en andere data van shermafbeelding 2?

Lire plus
Posté le de Andre E
Patrick S.
Patrick S.
User
Auteur

That's just it,

i don't suppose they are correct, otherwise it would work i presume. But i can't seem to find the correct settings. That's why i started this post.

I suppose username and PW are those from the last attachment... ? Also Tablename is rathet straight forward.

But somehow i keep using the wrong Host Name and Database Name... I think?

Help!

Lire plus
Posté le de Patrick S.
Andre E
Andre E
Moderator
Meilleur utilisateur du mois EN

probeer eens met table name: soort
database naam en usernaam zijn hetzelfde.

Lire plus
Posté le de Andre E
Claudio D.
Claudio D.
Moderator
Meilleur utilisateur du mois IT

La tabella va fatta creare a WebsiteX5... il modo più facile è dal form contatti scrivendo su DB

Dopo che è stata creata anche con un solo record... questa tabella sarà leggibile dal DBViewer... 
Ed ovviamente dopo che hai aggiunto un record tramite form contatti, potrai importare i tuoi dati tramite PHPMYAdmin

Se hai creato tu la tabella con PHPmyAdmin... non può funzionare.

===========

The table must be created with WebsiteX5... the easiest way is from the contact form by writing to DB

After it has been created even with only one record... this table will be readable by the DBViewer...

And of course after you have added a record via the contact form, you can import your data via PHPMYAdmin

If you created the table yourself with PHPmyAdmin... it cannot work.

Lire plus
Posté le de Claudio D.
Andre E
Andre E
Moderator
Meilleur utilisateur du mois EN

Ik hoor uit betrouwbare bron dat het niet gaat werken omdat het een eigen databse is en niet van x5. 

Lire plus
Posté le de Andre E
Patrick S.
Patrick S.
User
Auteur

@Claudio

THX.

That's why i didnt understand it.

I will make my Table from within Website X5

Lire plus
Posté le de Patrick S.