#There was an error while trying to connect to the host or while executing a query: "SQLSTATE[HY000]
37 messages · Page 1 of 1 (latest)
Follow this guide: https://pterodactyl.io/tutorials/mysql_setup.html#creating-a-database-host-for-nodes
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
@weak briar
hello @sonic iron thanks for responding
should i leave same ip " 127.0.xxx?
ERROR 1396 (HY000): Operation CREATE USER failed for 'pterodactyluser'@'127.0.0.1'
wow thanks my man
Btw when i try to connect in winscp
It get timed out i cant connect in winscp
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
i already provided this link to OP
ok.i sended this because he still cant connect externally ?
i wanted to know what i need to do to manage the db?
so how really i can connect it with sql website etc i need phpmyadmin to get install in vps to manage databases ?
i need to connect with my vps which im hosting cs2 server
with 127.0.0.1 you cant connect externally with programs because 127.0.0.1 / localhost is looking at your own pc location.
So i need to put my vps machine in place of 127.0.0.1?
if you want external connection yes
Yeah i need that
For this im asking
So to manage my db
I need to configure a website installing apache2 or nginx
Then php admin
Then database
Cuz im getting experience trying to learn new things everyday 🙂
So is required
In vps where i host cs2 by ovh
Install web
Install php admin
Creating database and connect it to pterodactyl panel
asked chat gpt but shows me all other things also doesnt work alot of cmds to install
that is 1 of the options you can do it or just following the guide again but instead using 127.0.0.1 use your ip adres of your vps ?
I used now ip of 0.0.0.0 on my vps where i have cs2 server
i connected in pterodactyl and created a database for my server
but i cant have access on winscp to manage files etc i used both pw of database and one of which is connected on pterodactyl
nano /etc/mysql/mariadb.conf.d/50-server.cnf
changed the Bind port from 127.0.0.1 TO 0.0.0.0
now i change 0.0.0.0 to my vps where my cs 2 server is created and linked it also created db for my server
just cant connect in winscp maybe im doing smth wrong but i remember years ago i used to manage my databases to upload files etc or im wrong ?
OH now i got it
so on my vps machine where i run cs2 server i need to put the ip machine where pterodactyl is installed ?
okay i gonna do it if is suggested sorry for pinging
opened also port 3306 ?
where the db is running ( i assuming its the same machine where your panel is running ?)
looks ok