{"action":"created","issue":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/752","labels_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/752/labels{/name}","comments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/752/comments","events_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/752/events","html_url":"https://github.com/DIRACGrid/DIRAC/issues/752","id":4584602,"number":752,"title":"Installation from Scratch -  MySQL problems","user":{"login":"hamar","id":765454,"avatar_url":"https://avatars.githubusercontent.com/u/765454?v=3","gravatar_id":"","url":"https://api.github.com/users/hamar","html_url":"https://github.com/hamar","followers_url":"https://api.github.com/users/hamar/followers","following_url":"https://api.github.com/users/hamar/following{/other_user}","gists_url":"https://api.github.com/users/hamar/gists{/gist_id}","starred_url":"https://api.github.com/users/hamar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamar/subscriptions","organizations_url":"https://api.github.com/users/hamar/orgs","repos_url":"https://api.github.com/users/hamar/repos","events_url":"https://api.github.com/users/hamar/events{/privacy}","received_events_url":"https://api.github.com/users/hamar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2012-05-15T14:14:48Z","updated_at":"2015-01-06T11:06:22Z","closed_at":"2015-01-06T11:06:22Z","body":"Hi,\n\nI am installing a machine from scratch, the /etc/hostname was like:\n\n127.0.0.1 localhost.localdomain localhost\nX.X.X.X machine_name.domain machine_name\n\n\nAnd, I got this error during installation:\n\nInstalling MySQL \nMySQL root password: \nInstalling MySQL server at XXX\nInitializing MySQL... \nStarting MySQL... \nSetting MySQL root password \nFailed to execute mysqladmin\nExit code: 1\n\nmysqladmin: connect to server at 'xxx.in2p3.fr' failed\nerror: 'Host XXX.in2p3.fr' is not allowed to connect to this MySQL server'\n\n[dirac@cctbdiracli01 DIRAC]$ ps -ef|grep mysql\ndirac     1943     1  0 16:02 pts/2    00:00:00 /bin/sh /vo/dirac/versions/v6r4p2_1337090238/Linux_x86_64_glibc-2.5/bin/mysqld_safe --datadir=/vo/dirac/mysql/db --pid-file=/vo/dirac/mysql/db/XXX.pid\ndirac     2083  1943  5 16:02 pts/2    00:00:00 /vo/dirac/versions/v6r4p2_1337090238/Linux_x86_64_glibc-2.5/libexec/mysqld --basedir=/vo/dirac/versions/v6r4p2_1337090238/mysql --datadir=/vo/dirac/mysql/db --log-error=/vo/dirac/mysql/db/XXX.err --pid-file=/vo/dirac/mysql/db/XXX.pid --socket=/tmp/mysql.sock --port=3306\n\nAfter I changed to\n\n127.0.0.1 machine_name.domain machine_name localhost.localdomain localhost\n\nand it works.\n\nThanks in advance,\n\nVanessa"},"comment":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/comments/68852939","html_url":"https://github.com/DIRACGrid/DIRAC/issues/752#issuecomment-68852939","issue_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/752","id":68852939,"user":{"login":"fstagni","id":785576,"avatar_url":"https://avatars.githubusercontent.com/u/785576?v=3","gravatar_id":"","url":"https://api.github.com/users/fstagni","html_url":"https://github.com/fstagni","followers_url":"https://api.github.com/users/fstagni/followers","following_url":"https://api.github.com/users/fstagni/following{/other_user}","gists_url":"https://api.github.com/users/fstagni/gists{/gist_id}","starred_url":"https://api.github.com/users/fstagni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fstagni/subscriptions","organizations_url":"https://api.github.com/users/fstagni/orgs","repos_url":"https://api.github.com/users/fstagni/repos","events_url":"https://api.github.com/users/fstagni/events{/privacy}","received_events_url":"https://api.github.com/users/fstagni/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T11:06:22Z","updated_at":"2015-01-06T11:06:22Z","body":"Old task. I install in Jenkins all the DBs and services using standard tools, and all works (fixed fully within v6r12)"}}