If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > Connection With Database Problem?

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  #16 (permalink)  
Old 12-27-08, 01:38
Frunkie Frunkie is offline
Gives Bad Advice
 
Join Date: Mar 2007
Location: 010101010110100
Posts: 791
If the text "here what i write in quotes" in the script, get rid of it, it will cause a parse error.

Quote:
$config['Database']['tableprefix'] = ''; here what i write in quotes
If my memory serves me correctly, you need to create the database first. Have you done this yet?

As a last resort, can you ask blackapplehost what the problem is? It seems to me that they should be able to walk you through this.
  #17 (permalink)  
Old 12-27-08, 02:12
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,262
get your ISP to confirm
the name of the db
your userid
your password
confirm that they have created the db, and connected to it using that userid and password
make certain that the settings are in your config file
make sure that the capitalisation is correct userid don_log is not the same userid Don_Log.. same applies to virtually anything the uni world

belt and braces proof:
debug the values (do an echo statement in the script where it isn't working)

eg
$sqlResult = @mysql_query($sql,$connection) or die (echo "U:".$username." P:".$password etc....
try to eliminate any areas of doubt in your mind as to what may be wrong
each thing you tick off rules out areas of uncertainty

consider running the phpinfo function to prove what your ISP account can do..... use the phpinfo() function

ultimately what you have is a vBulletin problem.. I'd strongly reccomend that you find a forum which supports vBulletin.
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
  #18 (permalink)  
Old 12-27-08, 02:39
don_log don_log is offline
Registered User
 
Join Date: Jun 2008
Location: pakistan
Posts: 109
i create database!
4. View/ Revoke Privileges
Username Database Name Table Name Privileges Revoke
kits_itmag kits_itmag * SELECT, INSERT,UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, LOCK TABLES

tell me what is my table name i create database already tell me the correct way
  #19 (permalink)  
Old 12-27-08, 03:07
Frunkie Frunkie is offline
Gives Bad Advice
 
Join Date: Mar 2007
Location: 010101010110100
Posts: 791
Do not worry about the table name. vBulletin will automatically create them for you when you do the installation.

In your configuration file (config.php), do not worry about the tbl_prefix, you can leave that blank unless you have other tables in that database.

Since you just created the database, I assume that you are safe with leaving it blank.

Now that you have created the database, go ahead and try and connect with your vbulletin installation script and let us know what happens.

  #20 (permalink)  
Old 12-27-08, 10:59
don_log don_log is offline
Registered User
 
Join Date: Jun 2008
Location: pakistan
Posts: 109
close this thread i don't sucess in install php forum there because it support only 2 database
Closed Thread

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On