+ Reply to Thread
Results 1 to 2 of 2

Thread: problem with connecting to mysql within php

  1. #1
    leeka26 is offline x10Hosting Member leeka26 is an unknown quantity at this point
    Join Date
    Sep 2009
    Posts
    13

    problem with connecting to mysql within php

    Hi all,

    I made a site on x10 with php, and I also made a mysql database, and used php to connect to it. I tested it with XAMPP, and it worked perfectly. But when I changed the username and password to mysql and put the files up on x10, it gave an error, saying:

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource

    Any ideas how I could solve this problem?

  2. #2
    computerkids is offline x10Hosting Member computerkids is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    54

    Re: problem with connecting to mysql within php

    are you sure your passwords are correct

+ Reply to Thread

Similar Threads

  1. problem with finding my mysql database (PHP)
    By wikiadmin in forum Free Hosting
    Replies: 1
    Last Post: 06-29-2008, 04:48 PM
  2. mysql db server; php connecting error
    By rebelsforchrist in forum Free Hosting
    Replies: 6
    Last Post: 06-27-2008, 02:49 AM
  3. PHP & MySQL Problem
    By tearsfall in forum Free Hosting
    Replies: 1
    Last Post: 05-08-2008, 02:27 PM
  4. php problem
    By himgar in forum Free Hosting
    Replies: 1
    Last Post: 02-22-2008, 03:41 AM
  5. Weird problem connecting to MySQL
    By tupakapoor in forum Free Hosting
    Replies: 13
    Last Post: 01-24-2008, 02:35 AM

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