Erreur identifiant Mysql

Erreur identifiant Mysql - SQL/NoSQL - Programmation

Marsh Posté le 11-01-2006 à 15:56:52    

Salut !
 
Je viens de tenter de modifier mon pass et mon login pour l'acces à Mysql...quelle erreur !
 
Impossible de m'y reconnecter via l'interface de PhpMyAdmin.
 

Citation :

phpMyAdmin a tenté de se connecter au serveur MySQL, et le serveur a rejeté la connexion. Veuillez vérifier les valeurs de "host", "username" et "password" dans config.inc.php et vous assurer qu'elles correspondent aux informations fournies par l'administrateur du serveur MySQL.
 
Erreur
 
MySQL a répondu:
 
 
#1045 - Access denied for user: 'mon_nom@localhost' (Using password: YES)


 
 
J'ai aussi essayé de modifier config.inc.php. Voici le début de mon code :

Code :
  1. if (!isset($old_error_reporting)) {
  2. error_reporting(E_ALL);
  3. @ini_set('display_errors', '1');
  4. }
  5. /**
  6. * Your phpMyAdmin url
  7. *
  8. * Complete the variable below with the full url ie
  9. * http://www.your_web.net/path_to_yo [...] directory/
  10. *
  11. * It must contain characters that are valid for a URL, and the path is
  12. * case sensitive on some Web servers, for example Unix-based servers.
  13. *
  14. * In most cases you can leave this variable empty, as the correct value
  15. * will be detected automatically. However, we recommend that you do
  16. * test to see that the auto-detection code works in your system. A good
  17. * test is to browse a table, then edit a row and save it. There will be
  18. * an error message if phpMyAdmin cannot auto-detect the correct value.
  19. *
  20. * If the auto-detection code does work properly, you can set to TRUE the
  21. * $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
  22. */
  23. $cfg['PmaAbsoluteUri'] = '';
  24. /**
  25. * Disable the default warning about $cfg['PmaAbsoluteUri'] not being set
  26. * You should use this if and ONLY if the PmaAbsoluteUri auto-detection
  27. * works perfectly.
  28. */
  29. $cfg['PmaAbsoluteUri_DisableWarning'] = TRUE;
  30. /**
  31. * Disable the default warning that is displayed on the DB Details Structure page if
  32. * any of the required Tables for the relationfeatures could not be found
  33. */
  34. $cfg['PmaNoRelation_DisableWarning'] = FALSE;
  35. /**
  36. * The 'cookie' auth_type uses blowfish algorithm to encrypt the password.
  37. * If at least one server configuration uses 'cookie' auth_type,
  38. * enter here a passphrase that will be used by blowfish.
  39. */
  40. $cfg['blowfish_secret'] = '';
  41. /**
  42. * Server(s) configuration
  43. */
  44. $i = 0;
  45. // The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].
  46. // You can disable a server config entry by setting host to ''.
  47. $i++;
  48. $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
  49. $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
  50. $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
  51. $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
  52. $cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
  53. // (requires PHP >= 4.3.0)
  54. $cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
  55. // (this user must have read-only
  56. $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
  57. // and "mysql/db" tables)
  58. $cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
  59. $cfg['Servers'][$i]['user'] = 'mon_login'; // MySQL user
  60. $cfg['Servers'][$i]['password'] = 'mon_pass'; // MySQL password (only needed
  61. // with 'config' auth_type)
  62. $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
  63. // this db is displayed
  64. // at left frame
  65. // It may also be an array
  66. // of db-names
  67. $cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
  68. $cfg['Servers'][$i]['pmadb'] = ''; // Database used for Relation, Bookmark and PDF Features
  69. // (see scripts/create_tables.sql)
  70. // - leave blank for no support
  71. // DEFAULT: 'phpmyadmin'
  72. $cfg['Servers'][$i]['bookmarktable'] = ''; // Bookmark table
  73. // - leave blank for no bookmark support
  74. // DEFAULT: 'PMA_bookmark'
  75. $cfg['Servers'][$i]['relation'] = ''; // table to describe the relation between links (see doc)
  76. // - leave blank for no relation-links support
  77. // DEFAULT: 'PMA_relation'
  78. $cfg['Servers'][$i]['table_info'] = ''; // table to describe the display fields
  79. // - leave blank for no display fields support
  80. // DEFAULT: 'PMA_table_info'
  81. $cfg['Servers'][$i]['table_coords'] = ''; // table to describe the tables position for the PDF schema
  82. // - leave blank for no PDF schema support
  83. // DEFAULT: 'PMA_table_coords'
  84. $cfg['Servers'][$i]['pdf_pages'] = ''; // table to describe pages of relationpdf
  85. // - leave blank if you don't want to use this
  86. // DEFAULT: 'PMA_pdf_pages'
  87. $cfg['Servers'][$i]['column_info'] = ''; // table to store column information
  88. // - leave blank for no column comments/mime types
  89. // DEFAULT: 'PMA_column_info'
  90. $cfg['Servers'][$i]['history'] = ''; // table to store SQL history
  91. // - leave blank for no SQL query history
  92. // DEFAULT: 'PMA_history'
  93. $cfg['Servers'][$i]['verbose_check'] = TRUE; // set to FALSE if you know that your PMA_* tables
  94. // are up to date. This prevents compatibility
  95. // checks and thereby increases performance.
  96. $cfg['Servers'][$i]['AllowDeny']['order'] // Host authentication order, leave blank to not use
  97. = '';
  98. $cfg['Servers'][$i]['AllowDeny']['rules'] // Host authentication rules, leave blank for defaults
  99. = array();


 
Rien à faire, toujours la même erreur !!!
 
D'où vient le problème svp ?
 
Merci d'avance
 
Micha
 

Reply

Marsh Posté le 11-01-2006 à 15:56:52   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed