Do you have shell access to this server?

Try to access MySQL by using command:

mysql

and then do: show databases;

You could also try to use root as username and leave the password empty. If
it works then it would mean that your MySQL is not setup with any security
or anything.

Did you create any database before you started the installation of the
script? There might be required that you create the table site and the user
site before you do anything.

Just some thoughts...

/Peter



-----Original Message-----
From: Scott Yamahata [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 24, 2006 4:29 AM
To: mysql@lists.mysql.com
Subject: Complete newbie (OSX Server - MySQL)

Complete newbie here.
Purchased software for my OSX Server 10.4.8 to use with MySQL and PHP.  I 
get an installation window that opens and asks for Host: (with a default of 
localhost).
User:  site
Password:  (the one the person who sold me the script provided).
Database:  site
License key:  (the one the person who sold me the script provided).

I hit the save button and get the following:

Warning: mysql_connect(): Access denied for user 'site'@'localhost' (using 
password: YES) in /Library/WebServer/Documents/!install/install.php on line 
298
Could not connect to the Database

Questions:
1.  I don't know if I have to do anything to MySQL to add the User and 
Database or whether the scripts supposed to do it for me.
2.  I don't know if I'm supposed to use localhost or "greenheartworld.com," 
which was the domain that I supplied to him (but want to change).

Any help is greatly appreciated.

Thanks,

Scott

_________________________________________________________________
Get FREE Web site and company branded e-mail from Microsoft Office Live 
http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to