Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Linux, Apache, MySQL > MySQL Help

MySQL Help Post any question relating to MySQL here and hopefully someone can help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2004-12-27, 07:51 AM
Junior Member
 
Join Date: Dec 2004
Posts: 1
keyboard
Default

I have a big problem with the Mysql server running as a service.
I work with IIS (perhaps this is not the right forum??), php, Mysql and installed mysql-4.0.16-win.
IIS works fine. The rootdirectory is d:\wwwroot (localhost)
With an anonymous login and using Mysql Control Center a made a database with 2 tables with are stored in the directory c:\mysql\data.
I tried to make a connection in Dreamweaver 2004 but DW generated an internal server error.
I cannot login the mysql server although I installed a user (see the my.ini).

When I log in at the command prompt (c:\mysql\bin\mysql.exe -uroot -pazerty) I get the message: Error 1045 Access denied for User <Using password: YES>
When I log in anonymous I get the Welcome message.

This is the my.ini:
#This File was made using the WinMySQLAdmin 1.4 Tool
#19/12/2004 19:33:41

#Uncomment or Add only the keys that you know how works.
#Read the MySQL Manual for instructions

[mysqld]
basedir=C:/mysql
#bind-address=192.168.0.143
datadir=C:/mysql/data
#language=C:/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=3306
#set-variable=key_buffer=16M
[WinMySQLadmin]
Server=C:/mysql/bin/mysqld-nt.exe
user=root
password=azerty

Can anyone help me? <_<
Reply With Quote
  #2 (permalink)  
Old 2005-02-01, 07:46 AM
Junior Member
 
Join Date: Jan 2005
Posts: 21
gvwiberg
Default

Hi there!

I guess you have solved this by now, but here is my answer anyway:

The syntax is:
mysql -u user_name -ppassword

and not as you type

mysql -uuser_name -ppassword


Your line:
c:\mysql\bin\mysql.exe -uroot -pazerty

should therefor be:
c:\mysql\bin\mysql.exe -u root -pazerty


Here is another link that might help:
http://dev.mysql.com/doc/mysql/en/password...d-too-long.html

/G
@varupiraten.se
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:31 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.