473,699 Members | 2,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MySql permission problems (Win 2000)



I screwed up the permissions on my database. Basically I revoked all
the permissions of the root account on the mysql table.

To try to fix this, I went through all of the instructions here:

http://dev.mysql.com/doc/refman/5.0/...rmissions.html

running:
mysqld-nt.exe --defaults-file="C:\Progra m Files\MySQL\MyS QL Server
5.0\my.ini" --init-file=C:\mysql-init.txt
except in the mysql-init.txt file I put this:

GRANT ALL ON mysql.* TO root

Does any one know why this isn't working?

Nov 1 '05 #1
1 1435
www.douglassdavis.com wrote:

I screwed up the permissions on my database. Basically I revoked all
the permissions of the root account on the mysql table.

To try to fix this, I went through all of the instructions here:

http://dev.mysql.com/doc/refman/5.0/...rmissions.html

running:
mysqld-nt.exe --defaults-file="C:\Progra m Files\MySQL\MyS QL Server
5.0\my.ini" --init-file=C:\mysql-init.txt
except in the mysql-init.txt file I put this:

GRANT ALL ON mysql.* TO root

Does any one know why this isn't working?


Try comp.database.m ysql. This is a PHP newsgroup.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Nov 1 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
11760
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a table in MySQL with the path & filename to the image. I have successfully uploaded and performed an update query on the database, but the problem I have is I cannot retain the primary key field in a variable which is then used in a SQL update...
2
2537
by: Brian | last post by:
Hello I am using version 4.0.12-nt of MySQL and when I hit the enter key rapidly I can't connect to the database. The result is a message is returned to me from mysql that says I can't connect because the database is down. If I only hit the 'enter' key once (to execute the page that my queries are on(their are four queries on this particular web page)) my queries execute just fine. We have noticed that this only happens when we:
2
1602
by: Jamie | last post by:
A B C D E F G H I J K L M N O P Q R insert into test (building,dep,owner,pcdesc,host,pctag,os,sp) values (' A ,' Catering ,' User 3 ,' EVO N410 ,' PC24346 ,' TAG-24346 ,' WIN 2000 ,' 4 ); insert into test (building,dep,owner,pcdesc,host,pctag,os,sp) values (' A ,' Catering ,' User 4 ,' EVO N610 ,' PC24950 ,' TAG-24950 ,' WIN 2000 ,' 4 ); insert into test (building,dep,owner,pcdesc,host,pctag,os,sp) values (' A ,' Catering ,' User 5 ,'...
3
3216
by: genenamg | last post by:
Hi, I am trying to run and configure Apache 2.0, php 5 and mysql on win xp professional - this is the first time I have tried to install and configure all three. I am having difficulty trying to configure them on my computer. Can somebody help me - this is what I have done so far. Installed Apache 2.0, it worked perfectly ( I checked with my browser - http://localhost) till the point where I started to point where I
0
8685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8613
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
9172
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...
1
8908
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
8880
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...
0
7745
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5869
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
4626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.