Needs review
Project:
DrupalPro
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2012 at 21:14 UTC
Updated:
30 Jul 2012 at 21:18 UTC
Jump to comment: Most recent file
The domain name entered is use to create the DB username, DB password and DB name. It appears that MySQL has a limitation of 16 characters for usernames.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | drupalpro-7.x-3.x-dev_domain_16_plus-1705808-1.patch | 1.21 KB | KLicheR |
Comments
Comment #1
KLicheR commentedI use this strategy to overcome this issue.
If a domain name is more than 8 characters, I make a hash (sha1) with the domain and fill the variable $domain_ with the hash to make it 15 characters long.
The DB name will stay unique and can be retrieved in phpMyAdminfor further operations.
The only annoying things is that the name of the DB can be confusing so you better double check with your setting.php for the correct name before making manuel operation to the DB.
Comment #2
KLicheR commented