MYSQL admin help!
 

Subscribe now and choose from over 30 free gifts worth up to £49 - Plus get £25 to spend in our shop

[Closed] MYSQL admin help!

16 Posts
6 Users
0 Reactions
76 Views
Posts: 17
Free Member
Topic starter
 

I've recently upgraded my ubuntu server and it's buggered up, typical! The upgrade process failed, I think, due to the fact that I appear to have "gained" a database called '#mysql50#.gnome' which I can't delete, rename or fix. Any tips?!


 
Posted : 20/04/2011 3:32 pm
Posts: 349
Free Member
 

All the fun of trying to do an upgrade eh? Usually easier to wipe and install the new distro fresh!

Sorry can't be of any help, if it screwed up part way might just be easiest to wax the partition and start again?


 
Posted : 20/04/2011 3:34 pm
Posts: 17
Free Member
Topic starter
 

Everything else has been fine, it just seems to be mysql that's hosed.


 
Posted : 20/04/2011 3:42 pm
Posts: 0
Free Member
 

Do you have root access to mysql?

Any errors in the logs why you can't delete/rename/fix?

Can you do a SQL dump, then remove the current MySQL.... remove.... install new version.... restore SQL dump?


 
Posted : 20/04/2011 3:42 pm
Posts: 17
Free Member
Topic starter
 

I've got root access and the only place the odd name appears to show its face is the list of database names, there's nothing in the data dir unlike the other databases. I've got a series of backup dumps, I could remove and re-install but I have a feeling it'll drop a whole heap of other packages on the way, which is a bit of a pain.

Nothing in the logs other than to say "incorrect database name" when I try any operation on it.


 
Posted : 20/04/2011 3:52 pm
Posts: 0
Free Member
 

I'd install [url= http://www.webmin.com/index.html ]webmin[/url] (it's in the repos) and do it all from a GUI.

[And then end up having to rebuild the system.]


 
Posted : 20/04/2011 3:52 pm
Posts: 0
Full Member
 

Upgrade to Windows?


 
Posted : 20/04/2011 3:53 pm
Posts: 0
Free Member
Posts: 17
Free Member
Topic starter
 

Think I've sussed it, it was a hidden .gnome# folder with at and crontab subdirs, tracked it down and removed it and it seems to pass tests now.

I'd install webmin (it's in the repos) and do it all from a GUI.

I was happy from the cli, but webmin didn't play ball either 🙂


 
Posted : 20/04/2011 3:59 pm
Posts: 0
Free Member
 

strange directory to end up in the datadir though


 
Posted : 20/04/2011 4:02 pm
Posts: 0
Free Member
 

I was happy from the cli

Crikey, the best I ever feel when using the cli is 'moderately disheartened'! 😉

Glad you were able to track the problem down. 🙂


 
Posted : 20/04/2011 4:03 pm
Posts: 17
Free Member
Topic starter
 

Crikey, the best I ever feel when using the cli is 'moderately disheartened'!

That was something of a keyboard warrior bravado, I have been sat here for 10 minutes trying command options to be fair!


 
Posted : 20/04/2011 4:17 pm
Posts: 0
Free Member
 

geoffj - Member
Upgrade to Windows?

Good idea. Let's go one better, and upgrade to OSX....


 
Posted : 20/04/2011 4:17 pm
Posts: 17
Free Member
Topic starter
 

Better idea, I keep with what I know and what has absolutely shedloads of free advice online... 🙂


 
Posted : 20/04/2011 4:23 pm
Posts: 0
Free Member
 

coffeeking - Member
Better idea, I keep with what I know and what has absolutely shedloads of free advice online...

and is FOSS


 
Posted : 20/04/2011 4:25 pm
Posts: 17
Free Member
Topic starter
 

indeed! Thanks to all those who've contributed, for free, however minor.


 
Posted : 20/04/2011 4:30 pm
Posts: 0
Full Member
 

Good idea. Let's go one better, and upgrade to OSX....

Indeed

Posted from my iPad


 
Posted : 20/04/2011 4:45 pm