|
|
|
|
![]() ![]() |
![]() Group: Members
Posts: 7 Joined: 12-September 06 Member No.: 29,828 |
Post
#1
Sep 15 2006, 10:29 AM
I tried Install drupal In my hosting service but I'm totally stuck and have not a clue what I did wrong first, drupal worked properly when used in localhost sites/default/setting.php $db_url='mysql://myusername:mypassword@localhost/mydatabase'; Than I change it to my host; sites/default/setting $db_url='mysql://myusername:mypassword@db5.mysites.com/mydatabase'; but when I tried to open, It shows Internal server error what have I done wrong????? can you tell me the right setting???? please help me!!! regards, gippal |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 219 Joined: 30-October 05 Member No.: 13,574 |
Post
#2
Sep 15 2006, 05:15 PM
Do you have a database on that other server ? And the server with the database have to support requests from the outside. Its easy to have the hosting and the database on the same server, then you have no problems. |
![]() Group: Members
Posts: 7 Joined: 12-September 06 Member No.: 29,828 |
Post
#3
Sep 16 2006, 12:17 PM
Sure I have a username and a database in that server....but the location on my database is different with my domain and subdomain. for example my subdomain is http://gippal.finalFantasy.com but my database located in db5.finalFantasy.com in my host, it automaticvally host database in separated location is drupal can't open mysql database that has separated location???? regards, gippal |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 219 Joined: 30-October 05 Member No.: 13,574 |
Post
#4
Sep 17 2006, 06:51 AM
Never tried it before on a other location. I'm running drupal on a local server (lampp), and the database and the webserver are on the same computer. Note: You have to make a database and (database)user on the server before you can start. Then you have to make the tables with the SQL provided with the instalation. With my configuration it worked in a few minutes. I'll try to move the database to another computer in my (small) LAN and I'll see what happens. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 219 Joined: 30-October 05 Member No.: 13,574 |
Post
#5
Sep 17 2006, 06:18 PM
I have tested the following and it works : Webserver (in local lan using XAMPP). Database (on free server http://www.freesql.org) The line in the drupal config becomes : CODE $db_url = 'mysql://[i]login[/i]:[i]password[/i]@www.freesql.org:3306/[i]databasename[/i]'; Note the Italic has to be filled in with your specs. The number :3306 is port on the server that's listening for database access. (you need to specify this when it's not the default port). |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
13 | chinfo | 8,705 | 2nd August 2004 - 03:12 AM Last post by: X3r0X |
|||
![]() |
2 | threepach | 2,093 | 19th February 2008 - 08:30 PM Last post by: threepach |
|||
![]() |
7 | Raptrex | 13,184 | 27th August 2004 - 11:16 PM Last post by: Spectre |
|||
![]() |
0 | NuHoaXuLa | 3,381 | 20th September 2004 - 05:56 AM Last post by: NuHoaXuLa |
|||
![]() |
2 | Raptrex | 3,384 | 1st October 2004 - 05:53 AM Last post by: serverph |
|||
![]() |
4 | brandrocker | 595 | 27th December 2008 - 12:16 PM Last post by: OpaQue |
|||
![]() |
4 | NuHoaXuLa | 2,907 | 8th February 2009 - 10:58 AM Last post by: Quatrux |
|||
![]() |
0 | lawmatchmaker | 719 | 23rd June 2006 - 07:46 AM Last post by: lawmatchmaker |
|||
![]() |
4 | logophobia | 2,983 | 8th February 2009 - 11:01 AM Last post by: Quatrux |
|||
![]() |
4 | gunbound | 2,359 | 18th July 2006 - 10:54 PM Last post by: Tetraca |
|||
![]() |
5 | khmerneed | 5,230 | 17th July 2009 - 09:22 AM Last post by: iG-Ranjan |
|||
![]() |
8 | BoSZ | 5,044 | 14th January 2005 - 08:28 PM Last post by: MaRiOnI |
|||
![]() |
1 | de4ws | 2,742 | 20th December 2004 - 08:26 AM Last post by: Galahad |
|||
![]() |
1 | FaLgoR | 3,389 | 8th January 2005 - 11:00 AM Last post by: mizako |
|||
![]() |
4 | cse-icons | 3,612 | 7th February 2005 - 02:37 PM Last post by: OpaQue |
|||
|
Open Discussion | Time is now: 7th November 2009 - 12:56 AM |
Web Hosting Powered by ComputingHost.com.