Results 1 to 8 of 8

Thread: Help me please with MYSQL

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2006
    Location
    Czech Republic
    Posts
    52

    Arrow Help me please with MYSQL

    Hi, I have a porblems with database MYSQL.
    I have a MYSQL database. On my Computer is with Apache all OK but on internet is with errors.

  2. #2
    Fanatic Member neicedover1982's Avatar
    Join Date
    Jun 2005
    Posts
    566

    Re: Help me please with MYSQL

    your going to have to be a little more specific. what it your actual issue your running into? does your mysql not work when you connect to it over the internet? Is this your personal computer?
    Kevin | New England Iced Over | http://www.kevincawleyjr.com

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2006
    Location
    Czech Republic
    Posts
    52

    Arrow Re: Help me please with MYSQL

    My page with MYSQL doesn't work over the internet. She can't connect. I don't know, where iserror. At home on Apache is go regular.

    Please help me

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Help me please with MYSQL

    Is this on web hosting ?

    Have you checked the exact host name (usually 'localhost') user name, password, etc.?

    What is the error message you get? If you don't get one after trying to connect, have you tried mysql_error() ?

  5. #5
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099

    Re: Help me please with MYSQL

    are you trying to connect to the MySQL database directly over the internet, though an application such as MySQL Admin or MySQL-CC, if so try opening port 3306 on your firewall.

    Also you need to set specific premissions on the MySQL users if you want them to be able to connect from another host other than localhost

  6. #6
    Fanatic Member neicedover1982's Avatar
    Join Date
    Jun 2005
    Posts
    566

    Re: Help me please with MYSQL

    Make sure you are also using the write address to connect to your computer. if you are using the ip address of your computer, make sure your using the correct one. if you are behind a router the ip address you need to use is of the routerm, not the computer. also check if your using a port number
    Kevin | New England Iced Over | http://www.kevincawleyjr.com

  7. #7

    Thread Starter
    Member
    Join Date
    Jan 2006
    Location
    Czech Republic
    Posts
    52

    Arrow Re: Help me please with MYSQL

    The error message is:
    Warning: mysql_connect(): Access denied for user 'nobody'@'localhost' (using password: NO) in /3w/euweb.cz/s/salcman/files/includes/login.php on line 3

    It's right ?
    $signal = mysql_connect(server name,user name,password);

    Within connecting arise error.

    I test the page on the other server too and that is same.

    Please help me

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Help me please with MYSQL

    Is this literally the line in your code?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width