This is a mysql issue, not specifically a CMS Made Simple issue but in as much as CMSMS runs on MySQL it is relevant.
I just did a major server upgrade (running Plesk on CentOS so did "yum update") and one of my CMSMS websites disappeared.
On looking for the database I found eventually that the database wasn't there... only I could kind of see it... and when I looked for the data I eventually found it BUT the table's name had been changed. Before my table was called "ebc-cms". Now it was called "#mysql50#ebc-cms".
So, if you have done yum update and one or more of your databases has disappeared and you can see it in there but it's called #mysql50#whatever-cms then this may work for you:
In phpmyadmin (or at a mysql command line if you're the adventurous sort) run ALTER DATABASE `#mysql50#whatever-cms` UPGRADE DATA DIRECTORY NAME;
This generates an error but it brings your database back.
What has happened is that hyphens are not necessarily safe for all file systems so mysql trashes your database. I realise that this makes little sense (if hyphens worked before they won't suddenly stop working because you upgraded mysql!) but it's not me that did it, it's mysql.
The moral of the story, please don't use hyphens in your database names as mysql doesn't like them and does mad stuff...
don't use hyphens
Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
-
- Forum Members
- Posts: 96
- Joined: Sat Dec 04, 2004 10:30 pm
Return to “[locked] Installation, Setup and Upgrade”
Jump to
- Official Boards
- ↳ README FIRST!!!
- ↳ Announcements
- ↳ General Discussion
- Support Boards
- ↳ CMSMS Core
- ↳ Modules/Add-Ons
- ↳ Help Wanted (commercial)
- ↳ Translations
- Community Boards
- ↳ Tips and Tricks
- ↳ CMS Show Off
- ↳ Layout and Design (CSS & HTML)
- ↳ Feature ideas
- ↳ Developers Discussion
- ↳ The Lounge
- International Discussions
- ↳ Czech/Slovak - Česky/Slovensky
- ↳ Danish - Dansk
- ↳ Dutch - Nederlands
- ↳ Aankondigingen
- ↳ Tips en Trucs
- ↳ Vertalingen & Documentatie
- ↳ Hulp gezocht (commercieel)
- ↳ Finnish - Suomi
- ↳ French - Français
- ↳ German - Deutsch
- ↳ BITTE ZUERST LESEN !!!
- ↳ Ankündigungen
- ↳ Installation und Einstellungen
- ↳ Module und Tags
- ↳ Smarty-Tipps und -Tricks
- ↳ Layout und Design
- ↳ Suchmaschinenoptimierung (SEO)
- ↳ HowTo's
- ↳ Übersetzungen
- ↳ Show Off
- ↳ Hilfe gesucht (kommerziell)
- ↳ Stammtisch
- ↳ Hungarian - Magyar
- ↳ Italian - Italiano
- ↳ Moduli/Plugins
- ↳ Lithuanian - Lietuviškai
- ↳ Darbo / bendradarbiavimo pasiūlymai ir paieška
- ↳ Persian / Farsi
- ↳ Polish - Polski
- ↳ Portuguese - Português
- ↳ Russian - русский
- ↳ Предложения и поиск РАБОТЫ
- ↳ Spanish - Español
- ↳ Swedish - Svenska
- Geekmoot Editions
- ↳ Geekmoot 2016
- ↳ Connections and Conversations
- ↳ Geekmoot 2015
- ↳ Geek Moot 2012
- ↳ Locked: Geek Moot 2010
- Old Forums
- ↳ [locked] CMSMS 2.0 Beta
- ↳ Module Developers
- ↳ Closed Issues
- ↳ [locked] Documentation0ld
- ↳ Suggestions, Modifications & Corrections
- ↳ [locked] CMSMS 1.11 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 1.10 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 2.2 Beta
- ↳ [locked] CMSMS MLE fork
- ↳ Modules/Addon patchs
- ↳ [locked] Quality Assurance
- ↳ [locked] Accessability and Usability
- ↳ [locked] Documentation
- ↳ Media and presentations about CMSMS
- ↳ [locked] Installation, Setup and Upgrade