Microsoft
Software
Hardware
Network
Question : Installing mySQL
Hi
I currently have PHP installed on my Windows XP box and now i need to install mysql.
I have no knowledge at all of mysql installation so i need to know exactly what i need to download/install etc and any configuration changes that i need to make.
Also to connect to mysql from php i need a username and password for mysql so i suppose i will need to know how to create an account in mysql too.
I will increase points if the answers are helpful (preferably not just links to webpages).
Thank you :)
Answer : Installing mySQL
Hi
>>I have no knowledge at all of mysql installation so i need to know exactly what i need to download/install etc and any configuration changes that i need to make.
Take a look at this url for how to install mysql on windows XP & follow up after installation..
http://www.analysisandsolu
tions.com/
code/mybas
ic.htm
>>Also to connect to mysql from php i need a username and password for mysql so i suppose i will need to know how to create an account in mysql too.
By default mysql creates root account with no password.. so u have to login with user name root with no password..so to create a user testuser with password test123 who can connect phpdb database(I hope u have created this DB)..
say you have installed mysql in C:/.. then default installed directory would be..
C:\>mysql\bin>mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version:XXXX
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>GRANT ALL on phpdb.* to 'testuser'@'%' IDENTIFIED BY 'test123';
mysql>FLUSH PRIVILEGES:
that's it....
now from php you can connect this mysql server(phpdb database) with testuser/test123...
Hope This Helps!..
Random Solutions
Running a command from dosbox (like isql)
exception with dllimport
McAfee VirusScan
Email Security (S/MIME)
I need help with text parsing / regular expressions
IE 7 throws "invalid argument" jscript error when change "top" css property
How can I identify the 'other devices' in my device manager? i.e. Base System Device, SM Bus Controller, Video Controller, Unknown Device. Don't know where to search to find drivers.
Differences b/w win95,win98,win2k,Windows Me,windows XP
Adding a non-exchange address to an exchange group?
running vrrpd daemon