ODBC Connection Problem User name field too short! (no replies)

This Comment will be submitted for moderation and will not be accessible to other users until it has been approved.
Submitted by programmer on Tue, 08/12/2008 - 10:01.

I am trying to connect to a web based MySQL database using the ODBC connector, the problem I have is that the user name and database name are 16 characters in length. The connector truncates these to 12 when it tries to connect and therefore displays an error as the information being passed is incorrect. Is there a way of bypassing this truncation in order to send the full user name and database fields?

I have tried contacting our ISP to shorten the names and they basically said no it's impossible!!

Post Comment

  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.