Gossamer Forum
Home : Products : DBMan SQL : Discussion :

ncant connect to database

Quote Reply
ncant connect to database
I use DBMAn SQL v.1

On the phpMyadmin on my host server I created the following :-

1. database Name................ "dbmansql"
2. username........................." dbcomputer"
3. password........................."25121964"

the below is a line in my CFG script file -

# "DBI:dbd_driver_name:database:server:port
@db_connect = ("DBI:mysql:database_name:server", "port", "");

NOW FOR MY QUESTION: Based on the info I created in the "phpMyadmin" on the
server... is the below info I put in the required line correct?????

@db_connect = ("DBI:mysql:dbmansql:localhost:3306", "dbcomputer",
"25121964");

WHAT TROUBLES ME IS:

1. Is the "3306" required??....the reason i put 3306 is because i have a local computer with NT OS on which i run a free web server called SAMBAR there I have my DBMAN SQL databases running ok with the 3306 in the @db_connect line. I am now moving from my local server to internet hosting

the host uses a apache OS and linux webserver.

with this in mind should i still use "3306" in the @db_connect line

2. Is the word "localhost" required or should it be "jamaicasearch.net" my domain name
instead?....**NOTE** Iwas told by my hosting company the the HOST should be "localhost"


I know my question is a bit long but please be patient with me, beleive me i an trying

Thanks in advance

Everton Johnson