Installation with alternative db name?

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.
12/28/2004 8:12:15 AM
Gravatar
Total Posts 20

Installation with alternative db name?

Hi! I'm trying to set up mojoforum a remote hosting account. This account gives me XSP and only one mysql database, which I have already named. I don' have permissions to create the mojoportal database,  but the database I have is completely empty and ready to go.  My question is, can mojoportal be used without the databased being named mojoportal?
12/28/2004 12:24:55 PM
Gravatar
Total Posts 18439

Re: Installation with alternative db name?

Absolutlely yes! Just run the scripts to create the tables and data in your db then set the db name, user, and password in the connection string in the web.config file. Thats exactly how it works at monoForge hosting, the db is the same as your user name.  Just curious, where are you hosting?

Let  me know if you have any trouble.

Best Regards,

Joe
12/28/2004 1:44:54 PM
Gravatar
Total Posts 20

Re: Installation with alternative db name?

I am hosting with grokthis.net. Its a wonderful host, I would recommend it to anybody. He gives you your own instance of apache running as you (not 'nobody'), XSP if you like,  two databases, and will configure mod_python  etc (and you can do your own apache modules) its 14.95 a month.  for the account I just described. I've run into some bugs, but the support has been decent and he's gotten them fixed pretty fast. Very helpful guy.
I can't speak much about the XSP support, because I am just learning it now. But it seems to work, at least the examples.
12/28/2004 3:00:57 PM
Gravatar
Total Posts 18439

Re: Installation with alternative db name?

That looks like a pretty good deal, I may consider using them myself at some point. Let me know if you have any trouble getting mojoPortal working. Of course the broken Register link you found is in the mojoPortal code you have. I have a bunch of improvements since the last release and will probably have a new release by this sunday evening so you may want to get the new code then.
12/28/2004 7:19:04 PM
Gravatar
Total Posts 20

Re: Installation with alternative db name?

Thanks for your offer to help.
I ran the first and third scripts in dbScripts, and the database looked good. Then the following line I changed in my Web.conf:

I didn't change other other lines.
I get the following error when I try to view it:

Description: Error processing request.

Error Message: HTTP 500.
Stack Trace:

ByteFX.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts
in <0x00158> ByteFX.Data.MySqlClient.Driver:Open (ByteFX.Data.MySqlClient.MySqlConnectionString)
in <0x0003c> ByteFX.Data.MySqlClient.MySqlInternalConnection:Open ()
in <0x000ef> ByteFX.Data.MySqlClient.MySqlPool:CreateNewPooledConnection ()
in <0x00214> ByteFX.Data.MySqlClient.MySqlPool:GetPooledConnection ()
in <0x00052> ByteFX.Data.MySqlClient.MySqlPool:GetConnection ()
in <0x00112> ByteFX.Data.MySqlClient.MySqlPoolManager:GetConnection (ByteFX.Data.MySqlClient.MySqlConnectionString)
in <0x0007c> ByteFX.Data.MySqlClient.MySqlConnection:Open ()

Any ideas?
12/29/2004 1:46:24 AM
Gravatar
Total Posts 18439

Re: Installation with alternative db name?

Yes, you have localhost for the server name but the db is probably on a different server than the web server. You will need to get the correct server name from the hosting company.
12/29/2004 2:40:37 PM
Gravatar
Total Posts 20

Re: Installation with alternative db name?

hmm. logging into to a shell and typing
mysql -h localhost -u luke_my -p
logs me in to the db... But I'll ask my service provider and make sure.
12/29/2004 7:14:46 PM
Gravatar
Total Posts 20

Re: Installation with alternative db name?

well, I am just learning ASP, but I wrote a really simple script that tries to connect to MySQL through ByteFX.Data, and I got the same problem. So we'll see what my sysadmin has to say for himself! :)
12/30/2004 1:58:29 AM
Gravatar
Total Posts 18439

Re: Installation with alternative db name?

what is the name of the server you shell into? that is probably what you need
1/1/2005 2:31:17 PM
Gravatar
Total Posts 20

Re: Installation with alternative db name?

I am going to start a new thread so this gets properly documented. I think there may be a different problem.
You must sign in to post in the forums. This thread is closed to new posts.