April 23rd, 2003, 03:02 AM
|
#1 (permalink)
| | Senior Member
Join Date: Aug 2002 Location: Las Vegas NV USA
Posts: 670
| Gonna put mysql where all crap software goes!!!!
This does it. I have tried everything with mysql, and i am verrrrrrrrrrrrrrrrrrrrrrry close to dumping it in the trash can next to those crappy metacreations products!!!!
After attacking the docs for the bloatware, and looking for countless tutorials, I can't find anything!!!
How do I get rid of this error?
ERROR 1045: Access denied for user: 'edselman@127.0.0.1' (Using password: YES)
also, would this be how to install a sql database? What about tables?
mysql -u <username> -p<password> <database_name> < sql/xcart.sql
Windows 2000 Server
IIS 5.0
PHP 4.0.?
Those are my specs. I am soooooo at wits end with this junk. Please help!!!! 
__________________
Back Online! http://rhd.dyndns.org <-- The History Site (Admin)
http://www.vegasfreecyclers.com/forum/index.php <---Moderator
|
| |
April 23rd, 2003, 02:31 PM
|
#2 (permalink)
| | Member
Join Date: Oct 2001 Location: Palatine, IL
Posts: 375
| Re: Gonna put mysql where all crap software goes!!!! Quote: Originally posted by nochay
How do I get rid of this error?
ERROR 1045: Access denied for user: 'edselman@127.0.0.1' (Using password: YES) |
Do you have an entry in your 'mysql' DB for that username and hostname? (And that password) |
| |
April 23rd, 2003, 02:40 PM
|
#3 (permalink)
| | Ultimate Member
Join Date: Jun 2002 Location: Iowa
Posts: 2,879
|
You might try getting "mysqladmin" and see if you can use that to create a user with the correct permissions for the database.
hth's |
| |
April 26th, 2003, 03:43 PM
|
#4 (permalink)
| | Senior Member
Join Date: Aug 2002 Location: Las Vegas NV USA
Posts: 670
|
Thanks guys. I'll try these options.
Dane
(testing new signature  ) |
| |
April 26th, 2003, 03:47 PM
|
#5 (permalink)
| | Member
Join Date: Nov 2002 Location: Kent England
Posts: 395
|
also set yr DNS to localhost |
| |
May 25th, 2003, 11:55 AM
|
#6 (permalink)
| | Member
Join Date: Sep 2002 Location: Cayey, Puerto Rico
Posts: 67
|
first of all, did you started the mysql server before accessing the client?
did you installed mysql as a service?
because if mysql server is down, mysql will never let you enter...
that seems to be the error...
then, if server is up, we have to check if root have password, and then, create the new acounts using insert into users query...
as someone suggested me, you can use mysql control center, a gui for virtually do anything in mysql available for download at www.mysql.com in the download section.
i also recommend you to read the documentation of mysql in your installation or in the web page... that is the official tutorial of mysql.
mysql is great, but is hard to understand...
good luck! |
| |
May 25th, 2003, 11:58 AM
|
#7 (permalink)
| | Ultimate Member
Join Date: Jan 2002
Posts: 1,881
|
phpmyadmin is a good program too, I might add 
__________________
Got root?
|
| |
May 25th, 2003, 11:50 PM
|
#8 (permalink)
| | Member
Join Date: Sep 2002 Location: Cayey, Puerto Rico
Posts: 67
|
ok... i see...
the sintax of your statement may be wrong...
i'm not so sure cuz i'm not an expert, but the safest and easiest way to achieve the same is
mysql -u (username) -p (database) (anything else)
--you don't have to include the password in your statement... mysql will ask for it then later...
hope it solves the puzzle...
Airman
oh... i forgot to tell you mysqladmin works the same way as mysql with the statements... 
Last edited by AirmanRules : May 25th, 2003 at 11:53 PM.
|
| |
May 26th, 2003, 12:03 AM
|
#9 (permalink)
| | Member
Join Date: Sep 2002 Location: Cayey, Puerto Rico
Posts: 67
|
the other way is by getting into mysql and then type
use (database) ->(press enter)
\. (file-to-execute.sql)->(press enter)
that's even more secure... but a little bit longer.
Airman |
| |
May 26th, 2003, 12:06 AM
|
#10 (permalink)
| | Member
Join Date: Sep 2002 Location: Cayey, Puerto Rico
Posts: 67
|
to create a database, simply type:
CREATE DATABASE (DATABASE NAME);
TO CREATE TABLES USE THE SQL SYNTAX.
see ya;
Airman  |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |