Koozali.org: home of the SME Server

MySQL - where is it?

Malcolm Capone

MySQL - where is it?
« on: April 04, 2003, 04:05:55 PM »
As a newbie, I am doing a tutorial for PHP and MySQL. In line with one of the lessons, I need to put some code into "the MySQL directory". I understand this to be /var/lib/mysql/. The trouble is I cannot find the directory.

I have two client desktops connected to my E-Smith Linux box. One is WIN/XP and one is Linux Mandrake. When I access my server from either desk top the above directory is not displayed. The Windows desktop shows cgi-bin, html and files directories on the server, while the MDK desktop shows a couple of directories I set up and some php code that I saved.

All I want to do is to put some code in the MySQL directory - can someone tell me how to get to it?

Thanks.

Louis Aszod

Re: MySQL - where is it?
« Reply #1 on: April 04, 2003, 05:55:52 PM »
Hi Malcolm,

Log into your SME console as "root" instead of "admin," using the same password. You'll get a root prompt.  MySql will be right where you think it should be, /var/lib/mysql.

Cheers,

Louis

Gregory baird

Re: MySQL - where is it?
« Reply #2 on: April 07, 2003, 01:26:20 AM »
Malcolm

If you are at the server consol just hit F2 and that will put you at the login prompt go ahead and login and you type mc hit enter that will put you in midnight commander so you can search for the file you need and you can even edit it from there

Dan Brown

Re: MySQL - where is it?
« Reply #3 on: April 07, 2003, 01:36:43 AM »
Gregory, that's Alt-F2, not just F2.