473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

#1044-Access denied for user ****@localhost to _DBNAME_ in Yahoo!

I just installed MySQL and phpMyAdmin in Yahoo! webhosting but when I try to create a table I get the error message: #1044-Access denied for user ****@localhost to _DBNAME_.

I am sure I have a database persmission problem that doesn't allow me to do basically anything but I don't know how go fix it.

I also notice that the error message says user ***@localhost when it should really say ***@mysql (because Yahoo! doesn't use "localhost" but "mysql" as the localhost. Also, instead of saying _DBNAME_ it should say mysql which is the default name for my database, but again I don't know how to fix it.

I have seen recommendations like "run the script mysql_fix_privilege_tables". But, HOW do I run it? WHERE?.

In other places I have seen recommendations like "run these series of MySQL commands ...". Again, HOW do i run MySQL commands? WHERE? I don't have a local installation of MySQL, I am using Yahoo!'s installation.

I would appreciate any help from anyone.

Thanks
Sep 3 '06 #1
1 9064
vssp
268 100+
This ERROR message is a result usually of the user not logging onto mySQL correctly.

In the Dos Prompt type

c:/mysql/bin/mysql -u root

This will open the mySQL monitor window under the user "root" the default administrator that mySQL has set up automatically.

From here you can add users and give them "PRIVILAGES or GRANTS" (enables access rights to the programme to create, drop ,change databases or tables etc)

Hope this helps.

p.s. some commands for DOS mySQL newbies

mysql> show databases;

mysql> create 'database name' (creates database)

mysql> drop 'database name' (BE CAREFUL deletes databases)

mysql> use 'name of database' (drop the ' ' and this will enable you to acces a database)

mysql> show tables (shows tables in a database)

mysql> create 'table name' (creates a table in a db)

mysql> drop 'table name' (deletes a table)

mysql> select * from 'table name' (show contents of table)

mysql> explain 'table name' (shows table details)

You'll have to look up the rest your self happy mysqling
Thanks
Vssp
Sep 4 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Raptor | last post by:
The error is the common "access denied to user@localhost on database," or whatever the exact language is. (I email from Linux so can't copy the exact wordage right now.) But like I say, it only...
8
by: John | last post by:
Hello. I am currently working through a book on Dreamweaver and using PHP. I am having a little trouble with setting up the database though. I have php 4.2.3 and MySQL 4.0.20a. I am running...
3
by: dstewart | last post by:
Situation: One common MySQL database server on SuSE 9.1 with all updates. Uses 'rinetd'. Has entries for the appropriate IP addresses of all servers. NOTE: If the appropirate entries are NOT in...
1
by: PHP Wooer | last post by:
Is there any way using PHP to find out whether a user ie. (email Id eg: mycodetest@yahoo.com) is using Yahoo mail beta version or the original one. Similarly for hotmail whether the user (email Id...
8
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive...
1
by: whitey | last post by:
hi all, is there any other reason for this message to be displayed? other than incorrect username, password, database name?
7
by: undbund | last post by:
Hi I am creating a newsletter system. The software should run from desktop computer (localhost) but be able to send email to anyone on the internet. Can you guys give me some ideas on how to...
1
by: Robert Bustos | last post by:
Hello everyone, I am a newbie here and I need some help. I am trying to install a bug tracking application called MantisBT on a Windows Server 2008 machine. It requires a Web Server - running...
6
by: amalahmed | last post by:
hi guys i have one error in php that coneect to the mysql database the conecction is ok but the selected the database is not work the erorr is( Access denied for user ''@'localhost' to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.