Configuring Umbraco with MySQL: “Could not connect to database”
I am trying to install Umbraco for the first time, and I am using this tutorial. I want to use MySQL instead of MS SQL (which is not shown in the tutorial).
When using the installation wizard, this is the result:
The error logged in UmbracoTraceLog.txt is:
Configured database is reporting as not being available!. Exception: MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException (0x80004005): The requested name is valid, but no data of the requested type was found
MySQL is up and running, and I ended up trying the root user just in case it was a permissions issue. I wounder if the table umbraco-cms should already be filled (what would then be the point of the wizard? and where do I find that info?).
I have searched quite a lot about how to install Umbraco using MySQL but I haven't found the necessary info. Other posts indicate that it shouldn't be that difficult.
I have already solved it, thanks to StackOverflow.
I've found that my error was in the server address. Umbraco didn't like "127.0.0.1:3306", but I tried "localhost" (without port number) and it worked.
Also: as for this moment, this post is still blocked and waiting for approval. Because it was the first post. I find this to be a serious barrier for someone starting to learn Umbraco.
Configuring Umbraco with MySQL: “Could not connect to database”
I am trying to install Umbraco for the first time, and I am using this tutorial. I want to use MySQL instead of MS SQL (which is not shown in the tutorial).
When using the installation wizard, this is the result:
The error logged in
UmbracoTraceLog.txt
is:MySQL is up and running, and I ended up trying the root user just in case it was a permissions issue. I wounder if the table
umbraco-cms
should already be filled (what would then be the point of the wizard? and where do I find that info?).I have searched quite a lot about how to install Umbraco using MySQL but I haven't found the necessary info. Other posts indicate that it shouldn't be that difficult.
I have already solved it, thanks to StackOverflow.
I've found that my error was in the server address. Umbraco didn't like "127.0.0.1:3306", but I tried "localhost" (without port number) and it worked.
Also: as for this moment, this post is still blocked and waiting for approval. Because it was the first post. I find this to be a serious barrier for someone starting to learn Umbraco.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.