Your HostICan Community  


Go Back   Your HostICan Community > Programming & Design > PHP / MySQL Assistance

PHP / MySQL Assistance We understand. Not all of you are experienced programmers, but some of you are highly skilled at coding. So we've set aside this forum so you can ask questions, and provide answers to the most commonly asked PHP / MySQL issues.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-10-2008, 09:31 AM
jcarvin's Avatar
Junior Member
 
Join Date: Feb 2008
Posts: 17
Default Password

I am trying to set up drupal without Fantastico. I started on my home computer as a development server and now want to upload to hostican.

I wanted to create two versions of drupal so I could run several drupal sites in more than one version.. So I created directories and installed the appropriate drupal on each one.

http://myname.com/dw57/sites/sitename1.com
http://myname.com/dw62/sites/sitename2.com

I uploaded all the files by FTP, created a dbname for sitename1 and a user name and password for the dbname.

Then I changed my settings.php in the main sitename1 directory to reflect the user name and password for dbname in the string

$db_url = 'mysql://dbusernameassword@localhost/dbname';
$db_prefix = '';

It still doesn't grant me access. I have my shared hosting user name that I can prefix to shared hosting. like $db_url = 'mysql://sharedhostingname_dbusernameassword@localhost/sharedhostingname_dbname';

But that doesn't work either. The $db_prefix = ""; line is for creating multiple sites in drupal, as I understand it, each with their own prefix in a common database. That is for having cookie cutter dbs, which I don't plan on, I believe.

What am I missing here? Why can't I get in? Do I have to include the sharehostingname_ as part of the dbname and dbusername? I've tried it both ways. Neither way works. Why can't I find this question answered anywhere in these forums? Doesn't anybody struggle with the same things as me?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 10:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

Copyright © 2003 - 2008 HostICan. All Rights Reserved.