As for your first question, I guess I'm not sure what you are trying to do. Do you want to be able to access web pages by entering
http://192.168.1.118 in your browser?
For the MySQL problem, it would be helpful if you posted what you actually type and the error messages you get back. However, as a starting point, you may have to do one of two things. If you haven't set up the initial permissions following
these instructions , you really need to do so.
If you have followed those intial setup procedures, you can change the root password by following
this procedure.