This is a discussion on "MySQL installation help!" within the Databases section. This forum, and the thread "MySQL installation help! are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
MySQL installation help!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
I don't know what i'm doing wrong but I'm having loads of trouble installing MySQL, Apache and PHP on Windows! I think its a combination of me not actually understanding it fully or that even my lecturer doesn't know how to help
Well, if anyone could give me a guide as to what to do with like the correct one to download etc I will be extremely grateful And also, I have php on my MAC installed fine, but again confused about installing MySQL and Apache on there? I have books but I just don't understand! Thank you |
|
|
|
#2
|
|||
|
|||
|
Re: MySQL installation help!
Doing it all from scratch is tough, especially when you've not done it before.
I still have nightmares about it. Do you have any particular error messages? For mac, try using this: http://www.mamp.info/en/index.php - I use this at home for testing and it's great. |
|
#3
|
||||
|
||||
|
Re: MySQL installation help!
can't you use iis?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#4
|
|||
|
|||
|
Re: MySQL installation help!
doesn't get any easier than this: http://www.apachefriends.org/en/xampp.html
download, run, select a drive root as target (ex: C:\ or D:\), wait for it to finish extracting, and start using!!!
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#5
|
||||
|
||||
|
Re: MySQL installation help!
i downloaded the installer :
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#6
|
|||
|
|||
|
Re: MySQL installation help!
Thanks so much I have used http://www.apachefriends.org/en/xampp.html and I think I've got it working!
|
|
#7
|
||||
|
||||
|
Re: MySQL installation help!
i didn't, it couldn't use port 80, (i think cos i have iis).
shame
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#8
|
|||
|
|||
|
Re: MySQL installation help!
well i've got everything but the mysql working, well it's working but the databases aren't linking to the php, I'm doing it locally and I keep getting errors on the page, mainly ;
An error occurred in script 'C:\xampp\htdocs\xampp\mysql_connect.php' on line 12: mysql_connect() [function.mysql-connect]: Access denied for user 'username'@'localhost' (using password: YES) Date/Time: 9-2-2007 22:35:47 YES isnt my password btw it just come up with that lol Any suggestions what i need to do? thanks |
|
#9
|
||||
|
||||
|
Re: MySQL installation help!
have you used the mysql terminal to create a user?
also there may be a syntax error, post your code and **** your password
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#10
|
|||
|
|||
|
Re: MySQL installation help!
Quote:
Last Blog Entry: More Sara Blogging (Nov 29th, 2007)
|
|
#11
|
|||
|
|||
|
Re: MySQL installation help!
Check the password setting in the xammp control panel. go to admin on mysql then check my.ini setup you should see the password assigned to mysql. so long as it corresponds to your connect.php it should work.
all the best Pat |
|
#12
|
|||
|
|||
|
Re: MySQL installation help!
i dont seem to have connect.php :-S !!
|
|
#13
|
|||
|
|||
|
Re: MySQL installation help!
I have this code, but it still doesnt seem to work?
|
|
#14
|
|||
|
|||
|
Re: MySQL installation help!
You can try this.
|
|
#15
|
||||
|
||||
|
Re: MySQL installation help!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#16
|
|||
|
|||
|
Re: MySQL installation help!
I think my problem is linking the php to the databases, I'm doing it on localhost. Is there something that I need to make the php script link to the database?
|
|
#17
|
|||
|
|||
|
Re: MySQL installation help!
On phpMyAdmin I'm getting;
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 What does this mean!? Sorry for all the questions! |
|
#18
|
|||
|
|||
|
Re: MySQL installation help!
Quote:
It's basically saying the query you are doing is using incorrect syntax. If you post the query you are trying to run and we can have a look. |
![]() |
| Tags |
| apache, help, installation, mysql, php |
| Thread Tools | |