Mysql and phpmyadmin


#1

hello that means that because I’m not in phpmyadmin when I’m in games
[ERROR] [MySQL] An error happens on MySQL for query “SELECT * FROM items {=}”: Unable to connect to any of the specified MySQL hosts.


#2

No. PHPMyAdmin is a frontend to ACCESS and manage your MySQL server.

Your FiveM server is ALSO trying to ACCESS your MySQL server. You have most likely misconfigured your connection string.


#3

set mysql_connection_string “server=ip;database=essentialmode;userid=localhost;password=mdp”


#4

You writing this has no use to me.

  1. ip is not an ip address. Should probably just be localhost
  2. userid should probably be something different. Change it to your own user or use the root user

#5

well the IP address I put my address of phpmyadmin and use I try with root which one of base and then with the other one


#6

For the love of God tell me you didn’t just post your username and password here.


#7

no do not worry ahahah