Examples of server name, etc.

User Info News
No avatar Welcome, Guest. Please login or register.

Login with username, password and session length
January 08, 2009, 03:53:52 PM
Welcome to the iobinary.com forum.  What do you think of the new theme?
Home Help Search Login Register
+  iobinary.com Forum
|-+  Blogg-X
| |-+  Support (Moderator: chris)
| | |-+  Examples of server name, etc.
« previous next »
Pages: [1] 2 Print

Author Topic: Examples of server name, etc.  (Read 12489 times)
 
PaulEarley
Guest


Email
Examples of server name, etc.
« on: September 03, 2005, 06:53:33 PM »

I downloaded Blogg-X and would like to use it in my site. However, I cannot get the Java connection to work. I assume the product works on a hosted connection. Could you show how the servername should appear?
My current servername is http://mysite.com

Also do I need a connection name somewhere?
Paul Earley
Report to moderator   Logged
admin
Guest


Email
This should help...
« Reply #1 on: September 04, 2005, 03:53:14 AM »

Paul,
  I guess I didn't really explain the config portion at all on the main page.  Below is an image which should help.  Basically the settings Blogg-X needs are the same that Joomla/Mambo uses.  If you log into your Joomla/Mambo administration interface and select "Global Configuration" the "database" tab should have all the information.  Here is an image:



I will also put the information on the main Blogg-X page to help others out.

I hope you enjoy the program and it becomes useful.
Report to moderator   Logged
Sergio
Guest


Email
Connection
« Reply #2 on: September 15, 2005, 05:47:33 AM »

Sorry but I cannot make it work.
In my server, for Joomla sites I'm connecting to localhost.
I need to provide an IP pr URL to make the connection with bloggX
I've tried with the IP or the domain name without luck.
Can you explain how to connect to a remote server? I have 20 o 30 jommla sites running there, all of them with the same mysql user / pass.
Thank you
Report to moderator   Logged
Markku
Guest


Email
Examples of server name, etc.
« Reply #3 on: September 15, 2005, 12:20:33 PM »

Hi, I have problems to make it work as well. I'm testing Blogg-X on my local Windows box using default username and password for MySQL. I've tried IP address and "localhost" as server name but no luck. When I click "Update categories" I get error message saying "An error was encountered when trying" and that's all. Can't really see what this really promising app was trying. Any ideas?

Thanks in advance!

- Markku
Report to moderator   Logged
admin
Guest


Email
Examples of server name, etc.
« Reply #4 on: September 15, 2005, 01:26:49 PM »

Sergio... Are you using a hosting provider for all the sites or are they run from a local computer that you administer?  If hosted you may need to contact the tech support team of the provider or look through their FAQ to see if they state what the address is of the sql server and to be sure they support "remote database connections".  If they want to know, Blogg-X is using the JDBC database connector from the MySQL team.  I know my hosting provider has the SQL servers on separate systems from my dedicated IP address so I have to use the IP or name of the SQL server.

Markku... I'm guessing you are probably having the same problem as Sergio.  A quick email to the tech support guys should help out here.

Below is an example of my servers mySQL address (changed of course slightly but you should get the idea)

mysql12.hostingcompany.com

As far as the "An error was encountered when trying" thats my fault for not cleaning the message up, this means the database connection has failed.  I will fix the error message so it's actually useful.

Keep me updated...
Report to moderator   Logged
Markku
Guest


Email
Examples of server name, etc.
« Reply #5 on: September 15, 2005, 02:25:18 PM »

Hi admin,

And thanks for your reply. However I'm testing Blogg-X on my Windows laptop where MySQL, Apache, PHP, Joomla! site/s and Blogg-X are all running on the same computer, but I just can't connect to local database/s.

My host supports "remote database connections" but I haven't tried that yet. My assumption is that if Blogg-X works on my local environment then I can start using/testing it it with remote db's as well. Just wondering, should I configure JDBC drivers somehow in order to make them work?

Best,

- Markku
Report to moderator   Logged
admin
Guest


Email
Examples of server name, etc.
« Reply #6 on: September 16, 2005, 03:23:10 PM »

Markku... try using the following for the servername:

localhost:3306

I believe 3306 is the default port for MySQL but if you have changed it substitute your change in for 3306.  I don't have a local MySQL database running but I will see about installing one and try it here locally.

Thanks,

Chris
Report to moderator   Logged
chris
Guest


Email
Examples of server name, etc.
« Reply #7 on: September 17, 2005, 09:20:50 AM »

Markku...

Here is a followup to the previous message.

I installed a local windows MySQL server and created some test databases and tables within.  Using "localhost" as the hostname in Blogg-X did connect me to the database.  One note though I had to use the root account on my MySQL server, so one would have to use the username/password of an administrator for the database in Blogg-X settings.

Does that make any sense?

chris
admin@iobinary.com
Report to moderator   Logged
CRBatchelor
Guest


Email
Another server issue
« Reply #8 on: September 18, 2005, 09:27:56 AM »

Ok so it seems to find the datebase, but is hving issues actually syncing up to the database, any thoughts on this one?
Report to moderator   Logged
chris
Guest


Email
Re: Another server issue
« Reply #9 on: September 18, 2005, 10:45:32 AM »

Quote from: "CRBatchelor"
Ok so it seems to find the datebase, but is hving issues actually syncing up to the database, any thoughts on this one?


Are you getting any errors?  If so what is the message.  Also is this a local database on a local computer or a hosted site?  Can you explain what you mean by "syncing up to the database"?  Any other information would greatly help me in helping you.

Thanks,

chris
admin@iobinary.com
Report to moderator   Logged
CRBatchelor
Guest


Email
Examples of server name, etc.
« Reply #10 on: September 18, 2005, 03:25:53 PM »

Yes, here are the errors...

using "localhost" or anything that is not valid, I get "An error was encountered while trying to establish a database connection to jdbc:mysql://localhost/crbatch_joomla", when I click on update categories...

using valid domain, I get, "An error was encountered while trying"...

Seems to me like it is seeing the database with the valid domain, and I know the username and password are correct for the database....
Report to moderator   Logged
chris
Guest


Email
Examples of server name, etc.
« Reply #11 on: September 19, 2005, 09:09:59 AM »

CRBatchelor...
  What is the "Database Prefix" that you are using for your tables?  Is it the default "mos_" or do you have another?  If yours is different then that's the problem.  I will add the ability to specify the database prefix into the program as this may affect others.

As for the unhelpful error message:
"An error was encountered while trying"

This is my fault, for missing the incomplete message before compiling the code.  Basically what the problem is that when trying to determine the sites categories the sql queries are failing most likely do to a change in the database prefix.  Also do you know approximately how many categories you would have?  More than say 10?

Let me know and I will see about adding the database prefix as soon as possible.

Thanks,

chris
admin@iobinary.com
Report to moderator   Logged
Markku
Guest


Email
Examples of server name, etc.
« Reply #12 on: September 19, 2005, 03:52:16 PM »

Hi chris,

Thanks for the tip, I was using different prefix than the default "mos_".
Now Blog-x works fine on my local environment, next thing is to try remote connections.

Best,

- Markku
Report to moderator   Logged
CRBatchelor
Guest


Email
Examples of server name, etc.
« Reply #13 on: September 19, 2005, 07:47:02 PM »

Ok, that solved it... It was the prefix that was different than what it was looking for.  I just did a fresh install of Joomla, and it's default is jos not the old mambo mos....  All looks to be working now....  Thanks!
Report to moderator   Logged
Markku
Guest


Email
Examples of server name, etc.
« Reply #14 on: September 21, 2005, 02:05:39 AM »

cris,

Do you think you could add one more parameter (table prefix) to site settings screen?
Report to moderator   Logged

Pages: [1] 2 Print 
« previous next »
Jump to:  



Powered by SMF 1.1 | SMF © 2006, Simple Machines LLC
Copyright (C) 2006 Chris Campbell.  All rights reserved.
The term "Apache XML-RPC" used with permission from Apache Software Foundation