Advertisement:

Author Topic: [SOLVED] Osclass database server is not available. Need more help?  (Read 27254 times)

biggig

  • Newbie
  • *
  • Posts: 8
i have used the error msg as the header because most people facing this problem will certainly google this whole phrase :) ...


My problem is i am trying to install osclass on serverfree.com , things went well, for the demo purpose, when it comes to installtion, it says the error msg specified in the header.

1) My question is " While uploading the OSCLASS via ftp" i have not updated anything in the files to look for any such server, than how can it be possible to specify that database server isnt avaialble.

2) although i tried my hand and renamed the config-samgle.php file to config.php and changed details accordingly, but stil the same problem ..i gave 777 CHMOD to the install file, no luck yet


3)Where is the installation instructions files, most of the online help is standard help where it is asssumed that you will not face any technical problem.


4)How could you we know if database server is working or not?

Please help and Guide me ...

Try and test it please on this LINK http://fugloo.com
Thanks
Syed
« Last Edit: August 07, 2013, 02:02:39 pm by garciademarina »

osCanyon

  • Hero Member
  • *****
  • Posts: 701
  • osCanyon, the class of Osclass
Re: Osclass database server is not available. Need more help?
« Reply #1 on: July 30, 2013, 06:11:39 pm »
you need to Create a database before you install the script, during installation it will ask for this information as for database user, database name, whether its localhost or a of site database server, this info and instruction are from the hosting site or your control panel, I am not familiar with serverfree or how they function.
osClass is very easy to install and the hardest part is getting the database created  :D

biggig

  • Newbie
  • *
  • Posts: 8
Re: Osclass database server is not available. Need more help?
« Reply #2 on: August 04, 2013, 11:42:09 am »
i did create database before hand..finally i figured out the issue is the new version, one version below works like charm..

osCanyon

  • Hero Member
  • *****
  • Posts: 701
  • osCanyon, the class of Osclass
Re: Osclass database server is not available. Need more help?
« Reply #3 on: August 04, 2013, 05:14:54 pm »
as far as I have tried, they are all very close to the same install procedure 8)

Gilden

  • Sr. Member
  • ****
  • Posts: 464
  • Availability: 30%
Re: Osclass database server is not available. Need more help?
« Reply #4 on: August 06, 2013, 04:24:07 pm »
What kind of hosting are you using? Sometimes you have to add your 'account username' before the database and username.
Something like thmn1971_DB1396233.

garciademarina

  • Administrator
  • Hero Member
  • *****
  • Posts: 974
Re: Osclass database server is not available. Need more help?
« Reply #5 on: August 06, 2013, 05:42:10 pm »
Hi @ thmn1971,

You need to be sure that your mysql host is correct, maybe mysql server is not in your machine and you need to change this url... ?

Regards

osCanyon

  • Hero Member
  • *****
  • Posts: 701
  • osCanyon, the class of Osclass
Re: Osclass database server is not available. Need more help?
« Reply #6 on: August 06, 2013, 06:23:14 pm »
are you on a real host or running local?

if on real host
define('REL_WEB_URL', 'localhost');

this is not normal
 tr this

define('REL_WEB_URL', '/');


« Last Edit: August 06, 2013, 07:21:18 pm by DigitalConcepts »

Gilden

  • Sr. Member
  • ****
  • Posts: 464
  • Availability: 30%
Re: Osclass database server is not available. Need more help?
« Reply #7 on: August 06, 2013, 06:25:39 pm »
@DigitalConcepts: on cPanel, yes. On other panels it may not have. But since most people use cPanel (I think)... :)

Aficionado

  • Guest
Re: Osclass database server is not available. Need more help?
« Reply #8 on: August 07, 2013, 12:33:40 pm »
REMOVE the USER and DB name and server name/paths  from your post.

Not good to give away so much information.


SatelliteRadish

  • Newbie
  • *
  • Posts: 4
  • Developer
Re: [SOLVED] Osclass database server is not available. Need more help?
« Reply #9 on: August 20, 2013, 06:54:55 am »
Hey guys, I was having this same issue and got it to work with the following procedure:

1. Download zip package to my local development server
2. Upload zip package to hosted web server (so it is in 2 places)
3. Unzip in both locations
4. Create my osclass database on my hosting account
5. Run installation on my local server using details provided from the hosting account for the database
6. After installation completed, modified my config file on my local server: from "define('WEB_PATH', 'http://local-server/');" to "define('WEB_PATH', 'http://live-server/');"
7. Uploaded all the FILES only (not the oc-content, oc-admin, oc-includes folders) in the root directory from my local server to my live server

Hope this helps  ;)

leiou

  • Newbie
  • *
  • Posts: 1
Re: [SOLVED] Osclass database server is not available. Need more help?
« Reply #10 on: December 25, 2013, 11:40:57 am »
try add database user directly
尝试直接添加安装页面需要的数据库名及用户名和密码(可通过phpmyadmin执行),如果之前安装页面执行过,可能数据库已存在但用户创建失败
[my version is: the same error occur when i install 3.3.2 in the step to add access details to the database.
and i found the database had existed but the user not !
after add the user directly through phpmyadmin,the install.php worked!]
ps:i have edited the config-sample.php and rename to config.php,maybe don't need to..

nomorejazz

  • Newbie
  • *
  • Posts: 1
FOR GODADDY ACCOUNTS
« Reply #11 on: January 23, 2014, 04:06:56 am »
After launching your hosting service, it will take you to the page where you see the applications and tools, etc.  at the top of that section is a menu.  Hover your mouse over the "databases" menu and another menu will display "mysql".  Click this.  It will open a popup window which shows your current databases.  Chances are good that there are none there.  Either way, you will choose to create a new database.  Give it a unique name and assign a password (at least 6 characters, capital, number, special character).  Just click to create and wait a few minutes.  After a few minutes, the new database has been created and you will see options to the right of the same popout box.  Click the button that says "action", then click "details".

This displays your database information.  At the very bottom is:  Hostname.  Copy that entire hostname (highlight then right-click, or highlight + CTRL+C)

Now, begin to repeat the steps that led you to the error to start with.  Click install, When you get to the page where it asks for hostname, the given value is "localhost".  CHANG THIS TO THE NEW HOST NAME YOU COPIED. (CTRL + V, OR right click and paste).  This is the proper host name that will allow installation.  Then remember the database name and the password you used to create it?  Enter those next.  Leave the prefix as is, and do not expand the details at the bottom to create the db... you have already created it.  Continue to install as you would expect to do. 

You must have the correct hostname for your database, otherwise it doesn't even know where to find your database.

-Good Luck

Emanuel

  • Newbie
  • *
  • Posts: 6
Re: [SOLVED] Osclass database server is not available. Need more help?
« Reply #12 on: March 03, 2014, 03:37:30 pm »
i have used the error msg as the header because most people facing this problem will certainly google this whole phrase :) ...


My problem is i am trying to install osclass on serverfree.com , things went well, for the demo purpose, when it comes to installtion, it says the error msg specified in the header.

1) My question is " While uploading the OSCLASS via ftp" i have not updated anything in the files to look for any such server, than how can it be possible to specify that database server isnt avaialble.

2) although i tried my hand and renamed the config-samgle.php file to config.php and changed details accordingly, but stil the same problem ..i gave 777 CHMOD to the install file, no luck yet


3)Where is the installation instructions files, most of the online help is standard help where it is asssumed that you will not face any technical problem.


4)How could you we know if database server is working or not?

Please help and Guide me ...

Try and test it please on this LINK http://fugloo.com
Thanks
Syed

Emanuel

  • Newbie
  • *
  • Posts: 6
Re: [SOLVED] Osclass database server is not available. Need more help?
« Reply #13 on: March 03, 2014, 03:57:41 pm »
i have used the error msg as the header because most people facing this problem will certainly google this whole phrase :) ...


My problem is i am trying to install osclass on serverfree.com , things went well, for the demo purpose, when it comes to installtion, it says the error msg specified in the header.

1) My question is " While uploading the OSCLASS via ftp" i have not updated anything in the files to look for any such server, than how can it be possible to specify that database server isnt avaialble.

2) although i tried my hand and renamed the config-samgle.php file to config.php and changed details accordingly, but stil the same problem ..i gave 777 CHMOD to the install file, no luck yet


3)Where is the installation instructions files, most of the online help is standard help where it is asssumed that you will not face any technical problem.


4)How could you we know if database server is working or not?

Please help and Guide me ...

Try and test it please on this LINK http://fugloo.com
Thanks
Syed

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: [SOLVED] Osclass database server is not available. Need more help?
« Reply #14 on: March 05, 2014, 09:57:45 pm »
I think is a super general error and it should be giving a little more information then just "Osclass database server is not available. Need more help?", plus a "back button" because you can get this error even if you entered your user name and password wrong.