Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Help Me Config Drupal Url Database!
gippal
post Sep 15 2006, 10:29 AM
Post #1


Newbie
*

Group: Members
Posts: 7
Joined: 12-September 06
Member No.: 29,828



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
Go to the top of the page
 
+Quote Post
kdr_98
post Sep 15 2006, 05:15 PM
Post #2


Super Member
*********

Group: Members
Posts: 220
Joined: 30-October 05
Member No.: 13,574



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.


Go to the top of the page
 
+Quote Post
gippal
post Sep 16 2006, 12:17 PM
Post #3


Newbie
*

Group: Members
Posts: 7
Joined: 12-September 06
Member No.: 29,828



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
Go to the top of the page
 
+Quote Post
kdr_98
post Sep 17 2006, 06:51 AM
Post #4


Super Member
*********

Group: Members
Posts: 220
Joined: 30-October 05
Member No.: 13,574



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.
Go to the top of the page
 
+Quote Post
kdr_98
post Sep 17 2006, 06:18 PM
Post #5


Super Member
*********

Group: Members
Posts: 220
Joined: 30-October 05
Member No.: 13,574



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).
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Import From Excel File Into Mysql Database(9)
  2. Mysql Database Not Working(3)
  3. Ips Installer Database Details [resolved](6)
  4. Mysql Database Setup : Setting Up Mysql Database(6)
  5. Connect To Remote Oracle Database With Toad(7)
  6. Need Advice On Setting Up Mysql Database.(3)
  7. Phpmyadmin(7)
  8. Database Or Pdf(3)
  9. Need Help With My Database [resolved](6)
  10. Is The Database System Gone Again? [resolved](12)
  11. Database With Mysql++(7)
  12. Drupal Enthusiasts(1)
  13. Please Explain Me Mysql(4)
  14. Mysql Database Size(6)
  15. Drupal Related(1)
  1. Php Configuration File(16)
  2. Css Cal Config Client(7)
  3. How To Manage The Database For E-books Website In My Sql?(3)
  4. I Need Help Transferring Sql Database?(3)
  5. Can You Add Images Into A Mysql Database?(20)
  6. Ms-access Database Question(3)
  7. Truefusion Shoutbox(31)
  8. Index In A Mysql Database(3)
  9. Transferring From Old Server To New Server "database And Forum" [resolved](5)
  10. What Value Would I Use To Insert This Data?(4)
  11. How Do I Connect To Live Database With Php Script?(6)
  12. Mysql Database Space(3)
  13. Best Free Online Game Database(1)
  14. Forum Database(9)
  15. Php With Simple Csv List As Database, What Do U Think?(2)


 



- Lo-Fi Version Time is now: 6th September 2008 - 02:25 AM