473,385 Members | 2,274 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,385 software developers and data experts.

Resetting permissions on Windows

If I am using Win98 SE (yes yes, I agree...), will underneath still
work:
http://www.mysql.com/doc/en/Resetting_permissions.html ?
I have tryed to follow above and similar advices, but haven't had a
lot of luck.
I will try again soon, but I was wondering wether there was an easier
way
(e.g. if there was a "reset" command I could run that also works on
Win98).

The long story is:

OK, so I have a MySql (4.0.15) server running
on a Win98 SE (for testing against over LAN).

We had 2 accounts set up.
1) Our "admin": root@localhost [+ password]
2) Our "normal": MyUserName%ChosenHosts [+ password]

I was using MySqlFront and discovered that "MyUserName"
did not have *Select* priviledges.. "OK (that is really odd)" I
thought
(even more so since using "SELECT" had shown to work).

Then I took a look (from the admin account - localhost) on the admin
account..
It did not have *Grant*. Now... That was probably stupid, but I
decided to
try give it *Grant* (I know, seems odd, how to grant without having
grant,
but.. "Worth a try" I figured) from MySqlFront (I did not see/save the
SQL
it generated)...

And now.. I am locked out...I can no longer connect to it with the
"root" account....
I get "access denied for user " (bla bla). Error 1045.
I can however still connect from the "MyUserName" account

best regards
Thomas
Jul 19 '05 #1
3 2104
> (e.g. if there was a "reset" command I could run that also works on
Win98).


OK, I have it working now. From memory:

Mysqld --skip-grant-tables
Start MySqlFront, log in, modify user tables (create root)
Log out/in and set password.
thanks
Thomas Schulz
Jul 19 '05 #2
> (e.g. if there was a "reset" command I could run that also works on
Win98).


OK, I have it working now. From memory:

Mysqld --skip-grant-tables
Start MySqlFront, log in, modify user tables (create root)
Log out/in and set password.
thanks
Thomas Schulz
Jul 19 '05 #3
> (e.g. if there was a "reset" command I could run that also works on
Win98).


OK, I have it working now. From memory:

Mysqld --skip-grant-tables
Start MySqlFront, log in, modify user tables (create root)
Log out/in and set password.
thanks
Thomas Schulz
Jul 19 '05 #4

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

Similar topics

0
by: Thomas | last post by:
If I am using Win98 SE (yes yes, I agree...), will underneath still work: http://www.mysql.com/doc/en/Resetting_permissions.html ? I have tryed to follow above and similar advices, but haven't had...
1
by: Jeff | last post by:
We have a system at work that copies (using DTS) over databases from one SQL Server box to another every night. The copying process drops each target object and then recreates them. On the 2nd...
7
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted...
2
by: Ryan Ternier | last post by:
We've been using Excel for our web apps for quite some time. We're putting the apps on 2003 boxes now and have run unto an error with Excel. It just won't work <darn excel>. It gives us the...
17
by: Jon B | last post by:
Hi All! I have a ASP.NET 2.0 site that works on the Windows 2000 Server. However, when I tried to view this site on my local Windows XP machine, I get "Server Unavailable". If I switch the...
10
by: John Salerno | last post by:
I always read about how you need to set certain file permissions (for cgi files, for example), but it's never been clear to me *how* you do this. I know you can run the line chmod 755...
2
by: Budhi Saputra Prasetya | last post by:
Hi, I managed to create a Windows Form Control and put it on my ASP .NET page. I have done the suggestion that is provided by modifying the security settings. From the stack trace, I would...
0
by: Budhi Saputra Prasetya | last post by:
Hi, I still have the same problem with embedding Windows Control. I'll just requote what I posted last time: I managed to create a Windows Form Control and put it on my ASP .NET page. I...
3
by: Simon Watkins | last post by:
Our server administrators recently changed the permissions of most of our servers (you know how it is, the developers had, shock horror, got to know the domain administrator password, and some...
3
by: palepimp | last post by:
Hello all, I have searched far and wide for a solution to my issue. In short, here is the problem: 1. 3 PC's enter data into an Access 2003 database (PC's are running Vista w/ Office 2007...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
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,...
0
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...
0
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...

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.