#1 (permalink)  
Old 12-14-2004, 10:53 PM
Registered User
 
Join Date: Jul 2004
Posts: 11
javelin
not yet another username max lenght

ok, just so this doesnt sound too much like the 400 other questions on how to make longer usernames, this isnt..
due to my research on cpanel before hand we have from day1 had max 25 character usernames
thanks to the editing of the wwwacct trick,
recently a customer has come forward wanting to setup their database, now their username is mynewdomaincom (example) so their mysql database is mynewdomaincom_newdb
this has the small problem that the max characters of the users table is 16 characters, i have edited this up to 100, on top of that found a suggestion for the modification to the whostmgr2 file which i have also completed.
the problem remains, a user can go in and create a database, but....
1 it doesnt show up in myphpadmin
2 doesnt show up under the sql change password for databases in the cpanel manager

so
my question is .. has anyone gotten around this ? or has nobody encountered this so far (i doubt I could be the first)
if i create the domain with a username of 8 or less characters all is fine

any ideas are very welcome...

ps this i think is something that cpanel should really address, even if its a option somewhere to set max username character lenght on install and default it to 8, there are very few distros out there these days that have a 8 character max...

regards Jav

Last edited by javelin; 12-15-2004 at 02:05 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-16-2004, 08:46 PM
Registered User
 
Join Date: Jul 2004
Posts: 11
javelin
anyone anyone ?
minty for the first person with the correct answer..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-16-2004, 09:17 PM
dgbaker's Avatar
Moderator
Advanced cPanel/WHM User
 
Join Date: Sep 2002
Location: Toronto, Ontario Canada
Posts: 2,768
dgbaker is on a distinguished road
That is exactly why cPanel has left things at 8 char. for usernames, it wrecks havoc with sql.
__________________
Regards,
David
Forum Moderator

Alternate Support? http://www.cpanelhosts.com
Looking for a server? http://www.myvirtualhosting.com
Get Dedicated in Toronto at MVH.
We are a licensed cPanel PartnerNoc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-16-2004, 10:25 PM
Registered User
 
Join Date: Jul 2004
Posts: 11
javelin
It doesnt seem to be a problem with the database creation,
the username and the database get created fine.
its the linking between phpmysql and the database that seem to be at odds.. .

without changing the max characters in the users field (from 16) the database gets truncated, but still doesnt show up in phpmyadmin.

wonder if i need to compile phpmyadmin outside of cpanel for this to work ?...


jav
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-16-2004, 11:37 PM
cPanelBilly
Guest
 
Posts: n/a
Quote:
Originally Posted by javelin
It doesnt seem to be a problem with the database creation,
the username and the database get created fine.
its the linking between phpmysql and the database that seem to be at odds.. .

without changing the max characters in the users field (from 16) the database gets truncated, but still doesnt show up in phpmyadmin.

wonder if i need to compile phpmyadmin outside of cpanel for this to work ?...


jav
There is a specific reason that cPanel does not allow longer DB names, and this is it. We dont suggest nor afvise changing it. It can cause many issues and may be overwritten at a later date.
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

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



All times are GMT -5. The time now is 02:55 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc