MySQL Forums
Forum List  »  Install & Repo

Step-by-step solution!!!
Posted by: tom tom
Date: August 23, 2006 01:21PM

Ok folks,

I have received loads of emails and realised that dedspite the solution above works, it may be a bit blury for some of you, hence this email and a more descriptive solution that definitely works (at least it worked for all of those who mailed me having gone through the procedure above).
So:

1)
Log in to your MySQL with your root password in command prompt (forget about any MySQLadmins, dreamriver and so on): start---programs---mysql

Create a new database (you can keep it or drop it anytime afterwards, it is just to check whether you can connect or not). Copy the following script then right click with your mouse in the command prompt and paste it all:

CREATE DATABASE project;
USE project;
GRANT SELECT, INSERT, UPDATE, DELETE
ON project.* TO
'username'@'localhost'
IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
SET PASSWORD FOR username@localhost = OLD_PASSWORD('password');

2)
Try to connect now. Create a file: connnect.php
try out with this simple code:
<?php
echo mysql_connect ('localhost', 'username', 'password');
?>


3)
If you get Resource id # 1 or 2 (or something similar) on your screen - you are sorted out.

If this is not working then I am sorry but I will not be able to help you any further, although I'm 99% sure you will be sorted out, if you are carefully follow the steps above.

Regards,
Tom.



Edited 2 time(s). Last edit at 08/23/2006 01:22PM by tom tom.

Options: ReplyQuote


Subject
Written By
Posted
December 31, 2005 12:02AM
December 31, 2005 02:28AM
March 29, 2006 03:12AM
March 24, 2007 02:58PM
January 03, 2006 07:48AM
March 16, 2006 10:03AM
November 02, 2005 07:38AM
January 16, 2006 03:46PM
July 24, 2006 07:40AM
March 28, 2006 11:18PM
Step-by-step solution!!!
August 23, 2006 01:21PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.