Asheesh Laroia wrote:
> 
> I have a server (www.AsheeshEnterprises.com) set up, and I wanted to add a
> logging program to it.  I downloaded "bitlog" which I found from
> freshmeat.net, and it requires MySQL.  I have it installed, and running.
> 
> So, the install instructions say:
> 
> "First of all, you have to have PHP installed, and a working MySQL server.
> Create the necessary tables by running tables.sql through mysql."
> 
> So, what do I do now?  I have the file "tables.sql" in the directory, but
> have no idea how to "run it through mysql".  I started MySQL via
> /etc/rc.d/init.d/mysql start, and it started fine.

just use the mysql command :

mysql -u <user> [-p] DataBase < tables.sql

where user is the user owning (or having access to) DataBase, option
'-p' must be used if you've set a password for 'user'.

If you're running some PHP enhanced Web server, just pick up phpMyadmin
package, it will help you a lot in administering tasks...

Hope this help.

-- 
        Jose Luis

----------------------------------------------------------------------------
    Y no llegaste a quererme, y eran mis cinco sentidos
      Y no llegaste a quererme, y que desgraciaito he sido
       Y que ha tenido que aborrecerte tanto como te ha querido   
(Camaron)
----------------------------------------------------------------------------

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to