I did everyting according to this tutorial, https://www.digitalocean.com/community/tutorials/building-for-production-web-applications-deploying#set-up-database-server and all the nameserver (app1, etc) resolve properly. When i now bind the adress in the mysql config and i restart the mysql server, ill get an error
● mysql.service - LSB: Start and stop the mysql database server daemon Loaded: loaded (/etc/init.d/mysql) Active: failed (Result: exit-code) since Tue 2018-05-29 19:06:08 UTC; 3min 41s ago Process: 14636 ExecStop=/etc/init.d/mysql stop (code=exited, status=0/SUCCESS) Process: 14669 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
May 29 19:05:38 DB1 systemd: Starting LSB: Start and stop the mysql database server daemon… May 29 19:06:08 DB1 /etc/init.d/mysql: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/…ed in May 29 19:06:08 DB1 mysql: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . …ailed! May 29 19:06:08 DB1 systemd: mysql.service: control process exited, code=exited status=1 May 29 19:06:08 DB1 systemd: Failed to start LSB: Start and stop the mysql database server daemon. May 29 19:06:08 DB1 systemd: Unit mysql.service entered failed state. Hint: Some lines were ellipsized, use -l to show in full.
– The result is failed. May 29 19:06:08 DB1 systemd: Unit mysql.service entered failed state. May 29 19:06:54 DB1 sshd: Invalid user video from 220.127.116.11 May 29 19:06:54 DB1 sshd: input_userauth_request: invalid user video [preauth] May 29 19:06:54 DB1 sshd: Connection closed by 18.104.22.168 [preauth] lines 1-18/18 (END)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.