Results 1 to 4 of 4

Thread: Warning: mysql_query() [function.mysql-query]: Access denied

  1. #1
    Join Date
    Aug 2008
    Posts
    12

    Default Warning: mysql_query() [function.mysql-query]: Access denied

    All is good, I finally have all the php modules installed.

    I go through the install process until I have to write the tables to the mySQL DB"

    This is the error I get:

    Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/stark/public_html/page/include/function.php on line 8

    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/stark/public_html/page/include/function.php on line 8
    ERROR: Unable to execute query

    SELECT * from signup where username='vshare' and pwd='b1b9924810f5ecdd96ea723984ab4439'

    Access denied for user 'nobody'@'localhost' (using password: NO)




    before you guys say I need to check the DB password and other data, they are all correct.

    Any idea?

  2. #2
    Join Date
    Aug 2008
    Posts
    12

    Default Re: Warning: mysql_query() [function.mysql-query]: Access denied

    Guys I need some serious help I have been doing all kinda stuff from uploading again and again to creating new DB, even new accounts, nothing I still get the same error.

  3. #3

    Default Re: Warning: mysql_query() [function.mysql-query]: Access denied

    Database login details in config.php is wrong or the file not exists.

  4. #4
    Join Date
    Aug 2008
    Posts
    12

    Default Re: Warning: mysql_query() [function.mysql-query]: Access denied

    Quote Originally Posted by Grace1
    Database login details in config.php is wrong or the file not exists.
    You are wrong, and you said that to the other guy as well without following up after he said that it has deffiantly nothing to do with the config.php , please don't give advice if you don't know what you are talking about sorry that I may sound harsh.
    The problem is not that the config.php doesn't have the right information (because it can connect to the database since it is the step that is needed to write the tables that is the troublemaker)
    The config.php if fine.

    To all that have the same issue: I have not found the solution as such but I have found a workaround:


    1) Go to your phpmyadmin
    2) Click on tab import
    3) click on Browse and locate the vshare.sql file in the install folder
    4) your page should work now since all tables have been created.
    5) make sure that your config.php has all the releveant and correct data included

    The only problem now is that since you haven't finished the install process as such you will have no login details, you can create a new password and for a user by registering but until now I have no idea how to get into the admin panel, maybe some of the admins would like me to enlighten me on this one :)

Similar Threads

  1. Question about MySQL query
    By tnuriel in forum General Discussions
    Replies: 1
    Last Post: 04-19-2008, 05:37 AM
  2. How Access Mysql Data from the Templates??
    By spddeluxe in forum Installation Support
    Replies: 0
    Last Post: 03-06-2008, 09:43 PM
  3. Access denied for user ? Help Me
    By niord in forum Installation Support
    Replies: 3
    Last Post: 02-14-2008, 06:38 AM
  4. install error mysql query
    By Haz in forum Installation Support
    Replies: 1
    Last Post: 12-07-2007, 03:41 PM

Bookmarks

Posting Permissions

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