Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Reinhardt on July 04, 2001, 01:34:48 PM

Title: MySQL
Post by: Reinhardt on July 04, 2001, 01:34:48 PM
I am trying to use MySQL to create some databases, but I can't seem to find all the folders, can you please inform me where all the MySQL folders are like the bin directory and the scripts folder
Title: Re: MySQL
Post by: Dan Brown on July 04, 2001, 07:35:27 PM
What do you mean?  To create databases, you don't need to know where any of the files or folders are stored on the hard drive; you just run mysql and then say "create database dbname;", and it's made.  FWIW, the data itself is stored in /var/lib/mysql.
Title: Re: MySQL
Post by: Benny Andersen on July 05, 2001, 01:17:13 AM
Hi
Perhaps you are trying to install a program that requires you to place a script into the bin and then execute it to set up the db. I have never found the bin but have not looked hard. In the above instance I simply placed the file in any directory and executed it from there

Benny
Title: Re: MySQL
Post by: Dan Brown on July 05, 2001, 01:40:13 AM
I haven't seen such a program before, but that certainly doesn't mean there isn't one out there.  In any case, "the bin" is /bin.  Most db setup scripts I've seen are designed to be run from just about anywhere (which makes sense--they aren't doing anything to the filesystem as such, just to the database).