If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > create table Naming prob

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-26-06, 03:29
cfemocha cfemocha is offline
Registered User
 
Join Date: Aug 2005
Posts: 11
create table Naming prob

I've been creating table names using mixtures of capital letters and small letters but when it appeared on phpMyAdmin, all names are in small letters.
Is it a problem with my phpMyAdmin settings or mysql? and how do i solve it.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 02-26-06, 05:40
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
Quote:
In MySQL, databases correspond to directories within the data directory. Each table within a database corresponds to at least one file within the database directory (and possibly more, depending on the storage engine). Consequently, the case sensitivity of the underlying operating system determines the case sensitivity of database and table names. This means database and table names are case sensitive in most varieties of Unix, and not case sensitive in Windows.

-- 9.2.2. Identifier Case Sensitivity
so you're on windows, right?

there are examples on that page which tell you what to do about it
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 02-26-06, 06:28
cfemocha cfemocha is offline
Registered User
 
Join Date: Aug 2005
Posts: 11
yes im on windows, thanx for the link it was very helpful.
would you recommend sticking with lower case for all table/databse names if i were to transfer tables between platforms that differ in filesystem case sensitivity?
Reply With Quote
  #4 (permalink)  
Old 02-26-06, 08:23
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
yes, yes i would
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On