MySQL Fehlernummer 2003

So., 01/07/2012 - 20:44
Body
Fehlernummer 2003 bedeutet, dass der Zugriff auf die DB nicht erlaubt ist Dies ist standartmäßig eine Sicherheitseinstellung von MySQL, die verhindert, dass außer localhost noch jemand auf die DB zugreifen darf. Möchte man mit SQL Tools von außerhalb auf die DB zugreifen, so muss diese Sicherheitseinstellung geändert werden. Dazu wird die my.cnf editiert, die sich bei ubuntu beispielsweise unter /etc/mysql/my.cnf befindet Hier der zu editierende Ausszug aus der my.cnf
  1. # Instead of skip-networking the default is now to listen only on
  2. # localhost which is more compatible and is not less secure.
  3. # bind-address          = 127.0.0.1
  4.  
  5. # edit ASEITZ: Erlaubt LAN Zugriff
  6. # bind-adress             = 192.168.7.10
  7.  
  8. # edit ASEITZ: Erlaubt Zugriff von anderen rechnern?
  9. bind-adress             = 0.0.0.0
  10.  
Quelle: http://wiki.ubuntuusers.de/mysql
Webdevelopment
Add new comment
The content of this field is kept private and will not be shown publicly.

Plain text

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <drupal-entity data-*>
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.