[ic] MySQL connection problem

Spencer spencer@mediabang.com
Fri, 5 Jan 2001 16:31:41 -0700


On Fri, Jan 05, 2001 at 05:56:44PM -0500, Bogdanov, Uri wrote:
> Folks;
> 
> I am trying to use mysql just for a few tables (for examlple - table 'cat')
> I installed mysql on a different machine than ic;
> 
> so, i still want to use the default database for everything but the 'cat'
> table
> I went into CAT_DIR/catalogs/my_catalog/dbconf/default_db 
> and modified the file cat.dbm to look like this:
> 
> Database	cat	cat.txt	dbi:mysql:My_DATABASE:168.73.26.86:3306
> 168.73.26.86 is the ip address where my mysql is installed.

	Ok- so far so good.

> 
> I also have the file cat.sql in the same place where cat.txt
> When I restart the server, I get the following error:
> config error: connect failed - unknown error. Driver 'mysql' installed ?
> 
> So questions are:
> 1. what do I do wrong?
> 2. Do I need to have some mysql driver installed? 
> 

	1. You need to have DBD::mysql installed on your machine to
connect to MySQL servers (even ones on other machines).  You may also
need to add USER and PASS for that database.

	2. YES.

-- 
-Spencer
spencer@mediabang.com
Please direct all of your YES/NO questions to 8ball@mylamewebsite.com