Problème prometheus

  • Initiateur de la discussion
O

Oe sa passe

Nouveau né
Messages
11
Score réaction
1
Points
15
Bonjour,

J'ai actuellement un probleme avec mon prometheus.


[Prometheus repeated error of 16:18:23 - 31/12/2019] DB Connection failed! Error msg: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


Je ne sais pas comment le réglé et je n'arrive pas a contacte leurs support. Serait-il possible de m'aider svp ?


Cordialement
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
Si tu as un serveur chez mtx il ne faur rien mettre dans socket
 
  • Initiateur de la discussion
O

Oe sa passe

Nouveau né
Messages
11
Score réaction
1
Points
15
Qu'est ce que le socket ?
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
Dans la config tu as une ligne marquer socket, tu la laisse vide
 
  • Initiateur de la discussion
O

Oe sa passe

Nouveau né
Messages
11
Score réaction
1
Points
15
Excuse-moi je n'arrive pas a trouver cette ligne n'y le dossier :/

Serait-il possible que tu m'indique le chemin svp ?
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
Dans addons\prometheus\lua tu as prometheus_config et il faut Host = "sql.mtxserv.com" et me reste au info que tu as mis sur le site
 
  • Initiateur de la discussion
O

Oe sa passe

Nouveau né
Messages
11
Score réaction
1
Points
15
Toujours une erreur :

[Prometheus repeated error of 17:15:42 - 31/12/2019] DB Connection failed! Error msg: Access denied for user '*@l*****'@'1****' (using password: YES)
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
Tu n'as pas mis les bon identifiants
 
  • Initiateur de la discussion
O

Oe sa passe

Nouveau né
Messages
11
Score réaction
1
Points
15
[Prometheus repeated error of 17:18:23 - 31/12/2019] DB Connection failed! Error msg: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)



toujours la meme erreur
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
envoie ton fichier config (en mettant des XXXXX à la place de infos perso)
 
  • Initiateur de la discussion
O

Oe sa passe

Nouveau né
Messages
11
Score réaction
1
Points
15
lua :


Java:
--[[ Config ]]-- Prometheus.WebsiteEnabled = true -- If true, the chat command will be enabled (Opens menu) Prometheus.WebsiteCmd = "!donate" -- Command they need to type in chat to open your website Prometheus.CanCheckRankCmd = true -- Can people re-check their ranks? Prometheus.CheckRankCmd = "!checkrank" -- Command they can type in chat to force a re-check on their rank which will assign them the latest rank that they have bought(Can happen in all kinds of cases, admin mod messes up, rank files are lost etc) Prometheus.SeperateForSite = false -- Set to true if you want to use seperate chat commands for opening donation page and opening menu Prometheus.OpenDonationCmd = "!donatesite" -- Used only if Prometheus.SeperateForSite is set to true, keep in mind to not have both be same command Prometheus.DropPermaWeaponOnDeath = false -- Should a permanent weapon given by Prometheus drop when a person dies Prometheus.CanDropPermaWeapon = false -- Can a perma weapon be dropped? If set to false weapon will be destroyed when dropped(Except on DarkRP where it simply cannot be dropped). Prometheus.Access.AdminMenu = {"superadmin"} -- Groups that can access the admin menu. Examples: {"admin"} {"admin", "superadmin", "owner"} For AssMod use the number of the rank like: {1, 2} Prometheus.NotifyEveryone = true -- If true, it will send a notification to everyone that a person on server has gotten a package Prometheus.RefreshTime = 40 -- How often should it check for new actions (In seconds) Prometheus.PlayerPackageCooldown = 10 -- How many seconds a person needs to wait before they can refresh their active packages(In menu) Prometheus.ServerID = 2 -- ID of this server, will be given to you when you create it on your web side of prometheus Prometheus.DebugInfo = false -- If enabled, will show debug info of actions, actions and other things in server console Prometheus.LoadSettingsFromDB = true -- If false, will always use the FallBackSettings, useful if you want different servers to have different text in the notifications(Different language servers) Prometheus.Mysql.Host = "localhost" Prometheus.Mysql.Port = 3306 Prometheus.Mysql.Username = "XXXXXXXXX" Prometheus.Mysql.Password = "XXXXXXXXXX" Prometheus.Mysql.DBName = "XXXXXXXXXX"
--[[ End of Config ]]--
--[[ Fallback Config ]]-- No need to edit! In here are settings that are set up using the web interface, but in case of a failed connection, these will be used. Prometheus.FallbackSettings.message_receiverPerma = "You have received a donator package. {package}. This package is permanent and does not expire." -- Message that will show up to the package reciever. {name} gets replaced by persons name, {package} gets replaced by packages name. Prometheus.FallbackSettings.message_receiverNonPerma = "You have received a donator package. {package}. This package is not permanent and expires {expire}." -- Message that will show up to everyone else(If enabled). {name} gets replaced by persons name, {package} gets replaced by packages name, {expire} gets replaced by date on which package expires (YYYY-MM-DD). Prometheus.FallbackSettings.message_receiverRevoke = "Your package, {package} has been revoked. If you believe this is unjustified, please contact an administrator." -- Message that will show up to the package reciever if their package gets revoked. {name} gets replaced by persons name, {package} gets replaced by packages name. Prometheus.FallbackSettings.message_receiverExpire = "Your package, {package} has expired." -- Message that will show up to the package reciever when their package expires. {name} gets replaced by persons name, {package} gets replaced by packages name. Prometheus.FallbackSettings.message_othersCredits = "{name} has donated and received {amount} credit(s)" -- Message that will show up to everyone when someone buys a credit package. {name} gets replaced by persons name, {amount} gets replaced by the amount of credits they receive. Prometheus.FallbackSettings.message_receiverCredits = "You have received {amount} credit(s)" -- Message that will show up to the person when they buy a credit package. {amount} gets replaced by the amount of credits they receive. Prometheus.FallbackSettings.message_others = "{name} has received their package, {package} for donating!" -- Message that will show up to everyone else when receiver gets their package. Works if Prometheus.NotifyEveryone is true. {name} gets replaced by persons name, {package} gets replaced by packages name, {expire} gets replaced by date on which package expires (YYYY-MM-DD).
--[[ End of Fallback Config ]]--


web :

Java:
<?php $db_host = 'XXXXXXXXX'; // Hostname or Host IP $db_user = 'XXXXXXXXXX'; // Username $db_pass = 'XXXXXXXX'; // Password $db_database = 'XXXXXXXXX'; // Database $db_port = 3306; // Database port $steam_api = 'XXXXXXXXX'; // Your Steam API key. This setting isn't needed, but if filled it will act as a fallback for name grabbing  $lang = 'fr'; // To make a new language file, copy the lang/en-gb.php file and rename it to for example "fr.php"  $enable_cache = true;  $using_ssl = false; $devmode = false;
?>
 
  • Administration
Numerix

Numerix

Admin
Membre du Staff
Messages
1 913
Score réaction
356
Points
315
Prometheus.Mysql.Host = 'sql.mtxserv.com"
 
  • Initiateur de la discussion
O

Oe sa passe

Nouveau né
Messages
11
Score réaction
1
Points
15
MySQL Error:SQLSTATE[HY000] [2002] Connection refused
This error is usually caused because your MySQL credentials are incorrect!
 
FueroxTV59

FueroxTV59

Geek suprême
Messages
213
Score réaction
38
Points
150
Vas sur le DashBoard de ton serveur.. Clique sur "Mon serveur" -> "Plugins" et installes l'extension "tMySQL 4" et essayes pour voir si ça fonctionne.
 
Discord d'entraide
Rejoignz-nous sur Discord