[BlueOnyx:16169] Re: Existing database overwritten by GUI

Michael Stauber mstauber at blueonyx.it
Tue Oct 14 10:37:48 -05 2014


Hi Maurice,

> Please edit /usr/sausalito/schemas/base/mysql/MYSQL_Vsite.schema and
> scroll to the bottom of it.
> 
> There you find these two lines:
> 
> <typedef name="mysqlusername" type="re"
> data="^[A-Za-z0-9][A-Za-z0-9_%]{1,15}$" />
> <typedef name="mysqldatabase" type="re"
> data="^[A-Za-z0-9][A-Za-z0-9_%]{1,63}$" />
> 
> Change them to this:
> 
> <typedef name="mysqlusername" type="re"
> data="^[A-Za-z0-9][-]{0,4}[A-Za-z0-9_%]{1,15}$" />
> <typedef name="mysqldatabase" type="re"
> data="^[A-Za-z0-9][-]{0,8}[A-Za-z0-9_%]{1,63}$" />
> 
> Save the changes and rehash CCEd:
> 
> /sbin/service cced.init rehash

Actually, belay that. I just published updated base-mysql RPMs that
contain this modification (version/release: 2.2.0-0BX04) for all five
versions of BlueOnyx.

So just do a "yum clean all" and "yum update". Afterwards you may have
to do a "/sbin/service cced.init rehash" just for good measures and then
you can use the minus in MySQL usernames and database names.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list