Naming specifics

Discussion in 'MySQL' started by mbaldwin, Dec 18, 2009.

  1. #1
    Hi,
    I am building a php script to create a MySQL configuration file, instead of having people open the file in note pad to edit it. I need to check the inputs from the form in php, so I was wondering if MySQL had any specific rules in regards to

    Server name
    User name
    User password
    Database name

    This way I can check the input before creating the file.
    Example, at my host, they only aloud 15 characters in the db name, and the db user name. I think they only aloud a-z A-Z 0-9, and the underscore.
    But, this might have been host specific, I am looking for MySQL specific.

    Thanks,
    Michael
     
    mbaldwin, Dec 18, 2009 IP