"it didn't work" is a very broad statement.
In the picture, it shows the host name as "localhost:3306" the database name as "cms" and the username as "root".
it doesn't show the password.
when you say it doesn't work:
Are you trying to create the connection within Dreamweaver?
Or are you having problems when running the install on the remote server?
are you getting an error message?
If so, what is the error message?