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

Two roots?

I'm sure there's a good explanation, but I haven't seen it in any of the
documentation. When I query the mysql database in the user table I see
two roots--one with the host as "localhost" and the other with the host as
"linux.site." I suppose this is normal, but I don't understand why.
This is sort of a repost from yesterday, but since then I reinstalled
linux from scratch (SUSE 9.2 pro) I haven't yet added any users or set any
passwords--I haven't yet done anything to screw-up this pristine install.
Is it normal to see two roots in this kind of query? Last time I went in
as root and really messed things up. here's my second chance.

mysql>SELECT user, host, password FROM user;
+------+------------+----------+
| user | host | password |
+------+------------+----------+
| root | localhost | |
| root | linux.site | |
| | localhost | |
| | linux.site | |
+------+------------+----------+
4 rows in set (0.00 sec)

mysql>
Which root is the "real" root? Should I delete the anonymous users? Do
I need at least one limited guest account for my soon-to-be-written PHP
pages? Please advise.

Thanks.

Rich Hollenbeck

Jul 20 '05 #1
3 1774
It's all explained in p. 130 of the LATEST MySQL Reference Manual.
Oscar
On 11/25/04 09:55, in article pa****************************@verizon.net,
"Richard Hollenbeck" <ri****************@verizon.net> wrote:
I'm sure there's a good explanation, but I haven't seen it in any of the
documentation. When I query the mysql database in the user table I see
two roots--one with the host as "localhost" and the other with the host as
"linux.site." I suppose this is normal, but I don't understand why.
This is sort of a repost from yesterday, but since then I reinstalled
linux from scratch (SUSE 9.2 pro) I haven't yet added any users or set any
passwords--I haven't yet done anything to screw-up this pristine install.
Is it normal to see two roots in this kind of query? Last time I went in
as root and really messed things up. here's my second chance.

mysql>SELECT user, host, password FROM user;
+------+------------+----------+
| user | host | password |
+------+------------+----------+
| root | localhost | |
| root | linux.site | |
| | localhost | |
| | linux.site | |
+------+------------+----------+
4 rows in set (0.00 sec)

mysql>
Which root is the "real" root? Should I delete the anonymous users? Do
I need at least one limited guest account for my soon-to-be-written PHP
pages? Please advise.

Thanks.

Rich Hollenbeck


Jul 20 '05 #2
On Thu, 25 Nov 2004 15:31:56 +0000, Oscar A. Moreno wrote:
It's all explained in p. 130 of the LATEST MySQL Reference Manual.
Oscar


Thank you Oscar,

I don't actually have that book. Fortunately, I found an online version
at http://dev.mysql.com/doc/mysql/en/De...rivileges.html which may
roughly equate to page 130. Anyway, you're right; it seems to be exactly
the kind of information I was looking for. Now that I know where to go,
for this kind of information in the future, I should be up to speed much
more quickly. I really should buy the paper version of it. Thanks again.

Rich

Jul 20 '05 #3
To get the latest and greatest of the Reference Manual, go to
http://dev.mysql.com/get/Downloads/M....pdf/from/pick and select
the mirror closest to your heart and download it to your HD. No need to
spend moollah!!. This is a PDF format.

Oscar
On 11/26/04 00:42, in article pa***************************@verizon.net,
"Richard Hollenbeck" <ri****************@verizon.net> wrote:
On Thu, 25 Nov 2004 15:31:56 +0000, Oscar A. Moreno wrote:
It's all explained in p. 130 of the LATEST MySQL Reference Manual.
Oscar


Thank you Oscar,

I don't actually have that book. Fortunately, I found an online version
at http://dev.mysql.com/doc/mysql/en/De...rivileges.html which may
roughly equate to page 130. Anyway, you're right; it seems to be exactly
the kind of information I was looking for. Now that I know where to go,
for this kind of information in the future, I should be up to speed much
more quickly. I really should buy the paper version of it. Thanks again.

Rich


Jul 20 '05 #4

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

Similar topics

5
by: Justin Caldicott | last post by:
Hi There are n solutions to the nth root of any number, eg: (-8)^(1/3) = 1 + sqrt(3)i or -2 or 1 - sqrt(3)i The following code:
2
by: temper3243 | last post by:
Hi, I have been trying to solve the problem Roots of the polynomial 038 from mipt.ru (el judge). I have failed to do so. I tried to search on the net but found about contour integrals for...
0
by: Raymond L. Buvel | last post by:
If you are using the root finder in Numeric, and are having problems, check out the root finder in the ratfun module. My testing indicates that it will give the exact roots of a Wilkinson...
3
by: Carl Johansen | last post by:
I have a big ASP website (used by several thousand car dealers) that is a collection of lots of small and medium-sized applications. Now I want to start adding ASP.NET applications to it. I have...
18
by: anand | last post by:
*********************************************************************************************************** #include<stdio.h> #include<conio.h> #include<math.h> void main() { double...
8
by: aruna | last post by:
to write a c program to find the roots of the equation using bisection method that too using array or pointers
2
by: =?ISO-8859-1?Q?Sch=FCle_Daniel?= | last post by:
Hello NG, given this call to roots funtion from pylab In : roots() Out: array() as far as I understand it stands for a0+a1*x+a2*x^2 in the above case it yields 2x^2+2x = 2x(1+x) and the...
1
by: candacefaye1 | last post by:
1. write a C++ program to decide if the coefficients of a quadratic equation have real roots. The three choices will be to write the message “zero divide” when A is zero, write the message “no real...
2
by: Peng Yu | last post by:
Hi, I have the following program which computes roots of a cubic function. The solution is sensitive to the type, which is due to the truncation error. 'long double T' gives three solutions, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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,...
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
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,...
0
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...
0
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...

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.