Unix Technical Forum

find real/valid name current db

This is a discussion on find real/valid name current db within the MySQL General forum forums, part of the MySQL category; --> Hi, how can i find the real/valid name for current active db? Windows, lower_case_table_names = 2 CREATE DATABASE `UPPERCASE`; ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:01 AM
Sebastian Mendel
 
Posts: n/a
Default find real/valid name current db

Hi,

how can i find the real/valid name for current active db?

Windows, lower_case_table_names = 2

CREATE DATABASE `UPPERCASE`;
USE `UPPERCASE`;
SELECT DATABASE();
// `UPPERCASE`

but working with the returned lower case `UPPERCASE` results in an invlaid
db error

also see bug #31658 (http://bugs.mysql.com/31658)


--
Sebastian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 07:01 AM
Sebastian Mendel
 
Posts: n/a
Default Re: find real/valid name current db

ups, typo ...

Sebastian Mendel schrieb:
> Hi,
>
> how can i find the real/valid name for current active db?
>
> Windows, lower_case_table_names = 2
>
> CREATE DATABASE `UPPERCASE`;
> USE `UPPERCASE`;
> SELECT DATABASE();
> // `UPPERCASE`


should read
// returns `uppercase`


> but working with the returned lower case `UPPERCASE` results in an invlaid
> db error


should read:

but working with the returned lower case `uppercase` results in an invalid
db error


> also see bug #31658 (http://bugs.mysql.com/31658)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:23 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com