Page: [1] [2] |
Dingbats
; Send PM
Posts: 1970
Threads: 50 Mood: Optative Money: £268.57 (D) (+ Friend)
|
I've installed MySQL, but I can't figure out how to make it work! Any tips?
|
13.11.03 15:54 Post #1 | [Softbrain Games] [Hide Sig (2)] [Profile] [Quote] |
Archamond
Statusless? Maybe Send PM
Posts: 1825
Threads: 123 Mood: meh Money: £422.09 (D) User Tax: 5% (+ Friend)
|
Ofcourse, this is not porn
what is MySQL?
|
13.11.03 15:55 Post #2 | [ArchamondCOM ] [Hide Sig (20)] [Profile] [Quote] |
tundraH
Statusless Send PM Posts: 566
Threads: 20 Money: £1.26 (D) (+ Friend)
|
What operating system are you using?
What webserver are you using?
And... where did you install MySQL?
My set-up is Windows XP, IIS, installed to C:\inetpub\mysql. All I needed to do was create C:\my.cnf with this text:
\n
basedir = c:/inetpub/mysql/
datadir = c:/inetpub/mysql/data/
\n
and then I ran winmysqladmin.exe in the mysql\bin folder. I'm not sure if that's just for NT/XP though.
|
13.11.03 17:39 Post #3 | Last edited: 13.11.03 17:43 (tundraH - 1 times) |
[tundraH.com] [Hide Sig (0)] [Profile] [Quote] |
Dingbats
; Send PM
Posts: 1970
Threads: 50 Mood: Optative Money: £268.57 (D) (+ Friend)
|
Well, do you need to upload your files to some online server?
|
13.11.03 18:53 Post #4 | [Softbrain Games] [Hide Sig (2)] [Profile] [Quote] |
tundraH
Statusless Send PM Posts: 566
Threads: 20 Money: £1.26 (D) (+ Friend)
|
I don't understand what you mean. Are you talking about making it work on your home machine for testing, or on a server?
|
13.11.03 21:31 Post #5 | [tundraH.com] [Hide Sig (0)] [Profile] [Quote] |
Dingbats
; Send PM
Posts: 1970
Threads: 50 Mood: Optative Money: £268.57 (D) (+ Friend)
|
For testing on my own computer, but I asked if I need to upload them to a server.
|
14.11.03 18:41 Post #6 | [Softbrain Games] [Hide Sig (2)] [Profile] [Quote] |
thor
Statusless Send PM Posts:
Threads: Money: £0.00 (D) (+ Friend)
|
ok. thors tutorial for setting up mysql
download easyphp ( http://www.easyphp.org) and the english translation if it helps. download it to your C:\ drive so it installed as C:\EasyPHP
then press the dodgy windows button and r. type in cmd then click ok.
this will get you onto command prompt.
type in "C:\EasyPHP\mysql\bin\mysql -u root"
and you will magically be at the mysql control panel. and make sure mysql and php and stuff is running too, thats very important
|
14.11.03 19:19 Post #7 | [Hide Sig (0)] [Profile] [Quote] |
ReadMe
Absent Send PM Posts: 2820
Threads: 85 Money: £43.42 (D) (+ Friend)
|
aaaahhh no not easy PHP
http://www.firepages.com.au and nav to phpDEV i know the guy who made this dev and he's really good with PHP n stuff, altho i've not seen him online in a while.... Anyway, good dev easy setup.
________________
Cant be arsed to remake my sig. |
14.11.03 23:45 Post #8 | Last edited: 14.11.03 23:46 (ReadMe - 1 times) |
[Hide Sig (7)] [Profile] [Quote] |
Zogger!
Looking For Status Send PM Posts: 3954
Threads: 62 Money: £93.82 (D) (+ Friend)
|
what is it you have against easyPHP readme? It's a good package that gives you lots of customisation. Yeh I used to use phpDEV but the window popping up got a little annoying (kept closing it by accident), and there's less choice of PHP modules - Tho' there is Perl/CGI support, which is a plus side. I thought it might've been me that told you about phpDev, but maybe not if you know the person... hmm...
________________
You know I'm a dancing machine |
15.11.03 10:53 Post #9 | [Hide Sig (8)] [Profile] [Quote] |
Dingbats
; Send PM
Posts: 1970
Threads: 50 Mood: Optative Money: £268.57 (D) (+ Friend)
|
I put this code in a php file (delete the spaces), but the browser says there is an error:
< html >
< ?php
$con = mysql_connect("localhost", "", "" ) ;
? >
< /html >
This is the error message:
Warning: mysql_connect(): Access denied for user: 'ODBC@localhost' (Using password: NO) in c:\program\php\easyphp\www\mysql.php on line 3
What's wrong?
|
30.11.03 10:47 Post #10 | Last edited: 01.12.03 18:27 (Dingbats - 4 times) |
[Softbrain Games] [Hide Sig (2)] [Profile] [Quote] |
Dingbats
; Send PM
Posts: 1970
Threads: 50 Mood: Optative Money: £268.57 (D) (+ Friend)
|
I have to double post, because edits don't make stars. Watch my above post...
|
01.12.03 18:28 Post #11 | [Softbrain Games] [Hide Sig (2)] [Profile] [Quote] |
Zogger!
Looking For Status Send PM Posts: 3954
Threads: 62 Money: £93.82 (D) (+ Friend)
|
change it to
$con = mysql_connect("localhost", "root", "" ) ;
________________
You know I'm a dancing machine |
01.12.03 19:41 Post #12 | [Hide Sig (8)] [Profile] [Quote] |
C1
Looking For Status Send PM Posts: 0
Threads: 0 Money: £0.18 (D) (+ Friend)
|
i deleted those two posts and sorry readme..
|
02.12.03 03:46 Post #13 | [Hide Sig (2)] [Profile] [Quote] |
OPTiSSiMUS
Butt Cheek Send PM
Posts: 838
Threads: 17 WWP Clan: DIE Mood: do i LOOK like i'm kidding? Money: £512.10 (D) (+ Friend)
|
hey if you post saying you deleted posts it is just as bad as the posts. understand what im saying? it gets kinda annoying. just do it and dont worry about it.
________________
|
02.12.03 04:52 Post #14 | [Dont go here] [Hide Sig (3)] [Profile] [Quote] |
Dingbats
; Send PM
Posts: 1970
Threads: 50 Mood: Optative Money: £268.57 (D) (+ Friend)
|
*sigh*... EasyPHP says "Apache cannot be runned: another Web server use the Web port"...
|
02.12.03 09:33 Post #15 | [Softbrain Games] [Hide Sig (2)] [Profile] [Quote] |
Page: [1] [2] |
Your Comments: