GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   MySQL Question (https://gfy.com/showthread.php?t=247989)

Mr Pheer 03-05-2004 09:36 PM

MySQL Question
 
How do i find out where my databases are stored on my server? Using FreeBSD

frankfortuna 03-05-2004 09:42 PM

/usr/bin/mysql --user=$sqluser --password=$sqlpass -e "show
databases;"

Remove $variables and insert your real user / pass.

Juicy D. Links 03-05-2004 09:44 PM

Hi MR pHeer :hi

Mr Pheer 03-05-2004 09:46 PM

Quote:

Originally posted by frankfortuna
/usr/bin/mysql --user=$sqluser --password=$sqlpass -e "show
databases;"

Remove $variables and insert your real user / pass.

Thanks Mr ForTuna

Hi Juicy

fuzebox 03-05-2004 09:55 PM

In the mysql client type "show variables", and scroll up until you find "datadir"

That's the path to where your databases are physically stored...

Unless you were asking about something different?

Simon-interaid 03-05-2004 09:58 PM

you can do

ps -axf | grep mysqld


in the results it'll show you where its looking for the data.

Easiest way id say :Graucho

Steve 03-05-2004 10:34 PM

useful shit to know

wimpy 03-07-2004 04:45 PM

I want "MySQL for Dummies"

Naughty 03-07-2004 04:46 PM

Quote:

Originally posted by wimpy
I want "MySQL for Dummies"
MySQL for Dummies

Illicit 03-07-2004 04:46 PM

Quote:

Originally posted by wimpy
I want "MySQL for Dummies"

where in RI are you ?


All times are GMT -7. The time now is 10:39 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123