Problems running setup with MySQL

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
9/13/2008 11:15:37 AM
Gravatar
Total Posts 2

Problems running setup with MySQL

I'm want to setup the mojoPortal with MySQL When I try to run the setup

I got the following error:

Probing system...
File system permissions ok.

The system cannot connect to the MSSQL database. Please check your connection string.


System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at mojoPortal.Data.DBPortal.DatabaseHelperGetConnectionError(String overrideConnectionInfo)

Note: This page shows some information that is helpful during setup and upgrades but for security it would be best not to show any information when the system is up to date. You can disable setup and suppress all information on this page by setting DisableSetup=true in Web.config. When you need to upgrade, you can set this back to false. If you are logged in as Administrator setup will run and you will be able to see this page even if it is disabled in Web.config so you can easily leave it disabled and just login before upgrading. But if you are not logged in you will need to enable setup in Web.config.
 

Strange thing is that the error is that he is unable to connect to MSSQL, but I'm using MySQL.

The following config I done in web.config. Can you tell me if I did this OK?:

<add key="SubSonicProvider" value="subsonicMySql" />  (I change this because of the MSSQL setting)

<add key="MySqlConnectionString" value="Data Source=mysql5.domain.com;Database=mojoportal;User ID=mojoadmin;Password=********;Charset=utf8;" />

Do you know what is wrong. Thnaks for your big help!

Greetings Paul

9/13/2008 11:20:08 AM
Gravatar
Total Posts 18439

Re: Problems running setup with MySQL

You need to download the file mojoportal-2-2-6-8-mysqldatalayer.zip and copy the .dll files from that download into your Web/bin folder

Hope it helps,

Joe

9/13/2008 11:39:06 AM
Gravatar
Total Posts 2

Re: Problems running setup with MySQL

Tnx Joe....that did the trick :)

grtz Paul

You must sign in to post in the forums. This thread is closed to new posts.