Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Ok, so I have a problem. On one of my sites my host "disabled" one of my databases due to being a resource hog.. or some other BS.

So, they inform me to continue using it, I need to get a dedicated server. Well.. no, I will not be getting a dedicated server with them, and am getting one elsewhere. So anyway, even in phpMyAdmin I can't see the database.

I am praying to god it hasn't been deleted and only somehow disabled or moved or something. So, since it will take ages to hear back from them about the issue, I have shell access so I wanted to just go in and find it myself and copy it to my HD, but I can't find it.

The "locate" db is too old, it isn't showing anything, so I was wondering where these are usually stored? Or if this would even be possible?

Sponsored Links
Joined: Oct 2002
Posts: 2
Lurker
Lurker
Offline
Joined: Oct 2002
Posts: 2
The "default" would be in the "data" subdirectory of the location where MySQL resides in.
Each database in it's own directory (same name as the database).

But I'm not familiar with multi-user setups and don't know how the structure would be in that case.

Edit: Sorry, I'm talking about the default structure on Windows based servers, not Unix.

Last edited by Idle; 10/14/2002 10:51 PM.
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
On my server, it's /var/lib/mysql

I think I used the default settings when installing MySQL.

The files are owned by either 'mysql' or 'root', and are not public-read, so you might have trouble accessing them directly.

You might be able to backup the database with mysqldump.

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
never thought of using mysqldump.. but alas, it says there is no database found with that name

and I don't see it under that location. argh....


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 655
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 9
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)