Loading ...
Sorry, an error occurred while loading the content.
 

Re: [bang-phpug] i have problem in connecting sql server... help me..

Expand Messages
  • Koushik G raj
    Hi Arul, it seems to be you are trying to connect with MS SQL not My SQL. please go through the url http://www.webcheatsheet.com/PHP/connect_mssql_database.php
    Message 1 of 7 , Jul 6, 2009
      Hi Arul,

      it seems to be you are trying to connect with MS SQL not My SQL.
      please go through the url
      http://www.webcheatsheet.com/PHP/connect_mssql_database.php


      --- On Sun, 5/7/09, Ramkumar <mailtoramkumar@...> wrote:

      From: Ramkumar <mailtoramkumar@...>
      Subject: Re: [bang-phpug] i have problem in connecting sql server... help me..
      To: bang-phpug@yahoogroups.com
      Date: Sunday, 5 July, 2009, 5:32 AM

















      Does the user exist and the password is correct for the mysql DB user?



      - Ram



      arul_sreeyaa2006 wrote:

      >

      >

      > Still i get a problem in connecting sql database in php.....my coding is

      > <?php

      > $link = mysql_connect( 'localhost' , 'mysql_user' , 'mysql_password' );

      > if (!$link) {

      > die('Could not connect: ' . mysql_error( ));

      > }

      > echo 'Connected successfully' ;

      > mysql_close( $link);

      > ?>

      > the errors are

      >

      > Warning: mysql_connect( ) [function.mysql- connect]: Access denied for

      > user 'mysql_user' @'localhost' (using password: YES) in

      > C:\wamp\www\ php\connect. php on line 2

      > Could not connect: Access denied for user 'mysql_user' @'localhost'

      > (using password: YES)

      >

      > ............ .help me.........

      >

      >





























      Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8. http://downloads.yahoo.com/in/internetexplorer/

      [Non-text portions of this message have been removed]
    • Manish kumar
      try userName root and password (blank with no space b/w quotes).
      Message 2 of 7 , Aug 2, 2009
        try userName 'root' and password ''(blank with no space b/w quotes).
      • Manish kumar
        try username root and password (no white space b/w. quotes)
        Message 3 of 7 , Aug 2, 2009
          try username 'root' and password ''(no white space b/w. quotes)
        Your message has been successfully submitted and would be delivered to recipients shortly.