473,761 Members | 6,001 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

1 New Member
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_privi lege_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 9083
vssp
268 Contributor
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
1367
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 occurs on IE running on the woeful Windows ME. I haven't tried it on another flavor of Windows. Netscape works just fine on whatever both OSes I have. Here's the code, short and sweet: // database variables $userName = GetDBUserName();
8
18470
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 locally with Apache 1.3.27 on Windows XP Pro. I seem to have finally got MySQL running after a lot of difficulty. In the book it says to type source C:\mysql\newland_tours.sql at the mysql> prompt, to generate the newland_tours database in my...
3
4149
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 rinetd, the error message is: ERROR 2013: Lost connection to MySQL server during query Using the exact same query from prompt on several clients (some are SuSE 9.1, some are older Redhat systems, but none are configured
1
1430
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 eg: mycodetest@hotmail.com)is using hotmail live or original hotmail.
8
28597
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 made a simple database in jsp(just to check if my mysql is working smoothly otherwise) which access' the username.....but in the process im getting a error--> java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO) i have...
1
3108
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
9822
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 achieve this. Thanks
1
2982
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 Apache 2.2, PHP 5, and Mysql 5.5. Apache is running and I have verified that PHP and MySQL are communicating with one another. When trying to run the actual MantisBT application I get the following error message: APPLICATION ERROR #401 ...
6
9095
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 database )
0
9345
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10115
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9775
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7332
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5229
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5373
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.