mySQL Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DateDoc
    Outside looking in.
    • Feb 2005
    • 14243

    #1

    mySQL Question

    I can add users to mySql but when I add a user to a database I get this error:

    Connection Strings
    Perl $dbh = DBI->connect("DBI:mysql:xxxpornb_wordpress:localhost", "xxxpornb_admin","<PASSWORD HERE>");
    PHP $dbh=mysql_connect ("localhost", "xxxpornb_admin", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
    mysql_select_db ("xxxpornb_wordpress");

    I also went and checked another domain I have on the same server and it has the same error when I go to mySQL there. It never had that error before. Repaired all tables and all are 'OK' but still cannot at a user to a database.......

    What do I need to do?
  • rickholio
    Confirmed User
    • Jan 2004
    • 1914

    #2
    Saying what the error is might help.
    ~

    Comment

    • woj
      <&(©¿©)&>
      • Jul 2002
      • 47882

      #3
      yea, what's the error?
      Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
      Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
      Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

      Comment

      • s9ann0
        Confirmed User
        • Sep 2001
        • 4873

        #4
        don't u need to use root to add users ?

        Comment

        • PbG
          Confirmed User
          • May 2003
          • 1025

          #5
          Ask the only host you will ever need

          Uncensored-Hosting | Photography by Gus

          Comment

          • DateDoc
            Outside looking in.
            • Feb 2005
            • 14243

            #6
            Originally posted by PbG
            Ask the only host you will ever need
            LOL, that is what i did! Just waiting to hear back.

            Comment

            Working...