+ Reply to Thread
Results 1 to 4 of 4

Thread: MySql Connection Problem

  1. #1
    wlkras is offline x10Hosting Member wlkras is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    3

    MySql Connection Problem

    Hi,

    I'm having a problem with my MySQL, it seems to refuse my connection and I'm not sure why?

    Here's the error:
    Access denied for user 'otfcb_otfcb'@'localhost' (using password: YES)

    The connection string is declared in my web.config as follows:

    <add name="MySQLConnection" connectionString="server=localhost;Database=otfcb_ Stats;User=otfcb_otfcb;Password=****;Pooling=false ;" providerName="MySql.Data.MySqlClient" />

    The user has been added in cPanel with full access rights, but to no avail.

    I'm probably missing something blatantly obvious, but if someone can point it out, I'd be most obliged

  2. #2
    Gouri's Avatar
    Gouri is offline Community Paragon Gouri has a brilliant futureGouri has a brilliant futureGouri has a brilliant future
    Join Date
    Oct 2007
    Location
    India
    Posts
    4,502

    Re: MySql Connection Problem

    Quote Originally Posted by wlkras View Post
    Hi,

    I'm having a problem with my MySQL, it seems to refuse my connection and I'm not sure why?

    Here's the error:
    Access denied for user 'otfcb_otfcb'@'localhost' (using password: YES)

    The connection string is declared in my web.config as follows:

    <add name="MySQLConnection" connectionString="server=localhost;Database=otfcb_ Stats;User=otfcb_otfcb;Password=****;Pooling=false ;" providerName="MySql.Data.MySqlClient" />

    The user has been added in cPanel with full access rights, but to no avail.

    I'm probably missing something blatantly obvious, but if someone can point it out, I'd be most obliged
    Which server you are on?

    At the moment the mysql on two of free servers is under update. Check the status at http://status.x10hosting.com

    Try after some time.
    If you feel my post is useful then click to give Reputation (bottom left corner of this post)

    X10 Hosting | News and Announcements | Premium Hosting | VPS Hosting | Prime Membership

    Tech Community | Gouri

  3. #3
    wlkras is offline x10Hosting Member wlkras is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    3

    Re: MySql Connection Problem

    I believe it's Lotus

  4. #4
    Gouri's Avatar
    Gouri is offline Community Paragon Gouri has a brilliant futureGouri has a brilliant futureGouri has a brilliant future
    Join Date
    Oct 2007
    Location
    India
    Posts
    4,502

    Re: MySql Connection Problem

    Quote Originally Posted by wlkras View Post
    I believe it's Lotus
    Then you should check the database information in your config file.

    And better re create the database user(Only database user not database) and use that configuration in your config file.
    If you feel my post is useful then click to give Reputation (bottom left corner of this post)

    X10 Hosting | News and Announcements | Premium Hosting | VPS Hosting | Prime Membership

    Tech Community | Gouri

+ Reply to Thread

Similar Threads

  1. Problem with connection do MySQL
    By koziol_mail in forum Free Hosting
    Replies: 10
    Last Post: 01-24-2010, 04:49 PM
  2. MySQL Connection Problem
    By SilverNeoX in forum Free Hosting
    Replies: 5
    Last Post: 10-31-2009, 06:47 PM
  3. MySQL connection problem
    By redproly in forum Free Hosting
    Replies: 13
    Last Post: 02-01-2008, 02:26 PM
  4. mySQL connection problem ! need help please !
    By ked in forum Free Hosting
    Replies: 8
    Last Post: 08-22-2006, 03:43 PM
  5. Mysql connection problem
    By shroomin in forum Free Hosting
    Replies: 5
    Last Post: 08-04-2005, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers