+ Reply to Thread
Results 1 to 5 of 5
Like Tree2Likes
  • 2 Post By ellescuba27

Thread: mysql not working

  1. #1
    shubhammaheshwariy41 is offline x10Hosting Member shubhammaheshwariy41 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    3

    mysql not working

    i cant connect to mysql data base
    http://opendeveloper.pcriot.com/
    is the host name localhost or my user name tried both
    php

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: mysql not working

    The X10 wiki has MySQL connection information. If you're getting connection errors, see the wiki article on MySQL connection errors. Additionally, if you are getting errors, you should state them explicitly in your post. Whenever you're dealing with a problem with code, give minimal sample code, state what you expect to happen and what actually happens, including any error messages.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    ellescuba27 is online now x10 Sophmore ellescuba27 is an unknown quantity at this point
    Join Date
    Sep 2011
    Posts
    150

    Re: mysql not working

    Username: you created it when making a database. Refer back to the list of databases in the CPanel.
    Password: you created this when making the database too.
    Server: localhost
    dinomirt96 and karimirt47 like this.

  4. #4
    shubhammaheshwariy41 is offline x10Hosting Member shubhammaheshwariy41 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    3

    Re: mysql not working

    no error even on using mysql_error()

  5. #5
    niagaradad is offline x10Hosting Member niagaradad is an unknown quantity at this point
    Join Date
    Apr 2010
    Posts
    9

    Re: mysql not working

    you are posting asking for help. Instead of having people guess what the problem is how about providing some code (with your password **** out of course).

    When you set up your database you then have to create and assign a user (if different than your main login to Xhosting) to the database. Have you done that already?

    Does the script exist on your Xhosting account? You can't have a script external to your account as remote database connections are turned off.

+ Reply to Thread

Similar Threads

  1. MySQL isn't working
    By ilicigor99 in forum Free Hosting
    Replies: 0
    Last Post: 10-25-2011, 07:13 AM
  2. MySQL not working
    By grgarside in forum Free Hosting
    Replies: 1
    Last Post: 04-14-2010, 01:01 PM
  3. MySQL Not Working
    By vish3191 in forum Free Hosting
    Replies: 3
    Last Post: 01-19-2010, 08:58 PM
  4. MySQL not working
    By RegionalGirl137 in forum Programming Help
    Replies: 6
    Last Post: 06-04-2008, 07:03 AM
  5. MySQL not working
    By PSLife in forum Free Hosting
    Replies: 0
    Last Post: 12-27-2007, 10:23 PM

Tags for this Thread

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