I'm just starting PHP and MySQL - and really like the book by Welling
and Thomsom.
I've installed MySQL on my WinXP desktop, along with Apache and PHP. I
have not figured out how to set a password for the root account. I've
been able to set up a user account for myself, with a password, but not
the root account. I understand this is not ideal.
I've tried setting the password in My.ini but it doesn't seem to work.
I must be doing something wrong. Can anyone suggest what I should be
doing. TIA 4 1537
Bob wrote:
I'm just starting PHP and MySQL - and really like the book by Welling
and Thomsom.
I've installed MySQL on my WinXP desktop, along with Apache and PHP. I
have not figured out how to set a password for the root account. I've
been able to set up a user account for myself, with a password, but not
the root account. I understand this is not ideal.
I've tried setting the password in My.ini but it doesn't seem to work.
I must be doing something wrong. Can anyone suggest what I should be
doing. TIA
Well, for one thing you're asking a MySQL question in a PHP newsgroup.
Try comp.databases. mysql.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
Bob wrote:
I'm just starting PHP and MySQL - and really like the book by Welling
and Thomsom.
I've installed MySQL on my WinXP desktop, along with Apache and PHP. I
have not figured out how to set a password for the root account. I've
been able to set up a user account for myself, with a password, but not
the root account. I understand this is not ideal.
I've tried setting the password in My.ini but it doesn't seem to work.
I must be doing something wrong. Can anyone suggest what I should be
doing. TIA
Go to this site: http://dev.mysql.com/doc/refman/5.0/...rmissions.html
Details on setting a password if one was never set and changing it if
you set one and have forgotten what it is.
--
Wayne http://www.glenmeadows.us
With or without religion, you would have good people doing good things
and evil people doing evil things. But for good people to do evil
things, that takes religion.
—Steven Weinberg
*** Bob escribió/wrote (1 Sep 2006 16:49:19 -0700):
I've installed MySQL on my WinXP desktop, along with Apache and PHP. I
have not figured out how to set a password for the root account. I've
been able to set up a user account for myself, with a password, but not
the root account. I understand this is not ideal.
I've tried setting the password in My.ini but it doesn't seem to work.
I must be doing something wrong. Can anyone suggest what I should be
doing. TIA
That's explained in the "Securing the Initial MySQL Accounts" chapter:
For Windows, do this:
shellmysql -u root
mysqlSET PASSWORD FOR 'root'@'localho st' = PASSWORD('newpw d');
mysqlSET PASSWORD FOR 'root'@'%' = PASSWORD('newpw d');
Read the whole chapter, though, there're other concerns.
--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Thanks for all your help. It's working fine now.
I'll try to keep the MySQL questions for another group. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John |
last post by:
Hello.
If I want to set up my first database and start using it in
Dreamweaver what do I need to do?
The book I'm working on has a CD with the database on. It is telling
me to put it in the MySql folder on drive C.
However, when I'm in Dreamweaver I click on Applications at the side,
and the plus button to add a MySql database. It tells me to enter the
|
by: David Ehmer |
last post by:
Hi
Having a problem setting up a password for MySQL
The reported problem when attempting to set up a root password is;
C:\mysql\bin>mysqladmin version
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
|
by: Florian |
last post by:
I've been stumbling over this, what I consider strange, behaviour. I
installed mySQL on a Win2k machine and tried to change the root password,
which didn't seem to work.
I changed it this way:
c:>mysql
mysql> use mysql
mysql> update user set password=PASSWORD('test') where user='root';
mysql> exit
|
by: Adam Smith |
last post by:
I have a new DB provided by my ISP don't know details of installation,
setup etc.
I can log in as anybody except root.
mysql -h localhost -u mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 71 to server version: 4.0.16-log
mysql -h localhost -u xxxxx
|
by: MLH |
last post by:
I'm supposed to set a password for the MySQL root user. The output of
mysql_install_db instructed me to run the following commands...
/usr/bin/mysqladmin -u root -h appserver password mynwewpasswd
I did. It did not work. Here's the error:
/usr/bin/mysqladmin: connect to server at 'appserver' failed
error: 'Host 'appserver.crci.com' is not allowed to connect to this
MySQL server'
Another command I'm supposed to run also resulted in an...
| |
by: Sridhar |
last post by:
HI,
I am having problems setting up a website so that it will be available
only inside the domain. We have three servers. One is iis server and second
one is internal server and the third one is sql server. I have deployed the
web application in the internal server. It is not able to access the sql
server that is on another server. If I deploy the same application on IIS, it
is working fine. How should I set up the web application in the...
|
by: laredotornado |
last post by:
Hi,
I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed
using Apache's apxs and the php library was installed to
/usr/local/php. However, when I set my "error_reporting" setting to be
"E_ALL", notices are still not getting reported. The perms on my file
are 664, with owner root and group root. The php.ini file is located
at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem
to be having an effect? ...
|
by: rajbala.3399 |
last post by:
Hi ,
I want to download sql in my linux system...........
# rpm -ivh
MySQL-server-5.0.24a-0.glibc23.i386.rpm MySQL-cl
ient-5.0.24a-0.glibc23.i386.rpm
Preparing... ###########################################
package MySQL-client-5.0.24a-0.glibc23 is already installed
package MySQL-server-5.0.24a-0.glibc23 is already installed
|
by: ivytony |
last post by:
First of all, I'm not sure if I've set up root password for MySQL server or not. I was following this tutorial http://www.howtoforge.com/centos-5.1-server-lamp-email-dns-ftp-ispconfig-p4 to install mysql on my CentOS 5 server.
When I run 'mysqladmin -u root password yourrootsqlpassword', I got this error message:
Then I go to MySQL prompt running ' mysql -uroot -pPassword' (Password is replaced by actual password)
When I am on MySQL...
|
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,...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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();...
|
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...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |