BlameThePixel!

BTForum » BlameTheOffTopic Forums » BlameTheGeneralOffTopic » PHP and MySQL

Page: [1] []
[]Dingbats
;
Send PM
An Avatar
Posts: 1970
Threads: 50
Mood: Optative
Money: £268.57 (D)
(+ Friend)
Not online within the last half an hour
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
An Avatar
Posts: 1825
Threads: 123
Mood: meh
Money: £422.09 (D)
User Tax: 5%
(+ Friend)
Not online within the last half an hour

Ofcourse, this is not porn:):):)


what is MySQL?
13.11.03 15:55
Post #2
[ArchamondCOM ] [Hide Sig (20)] [Profile] [Quote]
[UA]tundraH
Statusless
Send PM
Posts: 566
Threads: 20
Money: £1.26 (D)
(+ Friend)
Not online within the last half an hour
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
An Avatar
Posts: 1970
Threads: 50
Mood: Optative
Money: £268.57 (D)
(+ Friend)
Not online within the last half an hour
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]
[UA]tundraH
Statusless
Send PM
Posts: 566
Threads: 20
Money: £1.26 (D)
(+ Friend)
Not online within the last half an hour
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
An Avatar
Posts: 1970
Threads: 50
Mood: Optative
Money: £268.57 (D)
(+ Friend)
Not online within the last half an hour
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]
[G]thor
Statusless
Send PM
Posts:
Threads:
Money: £0.00 (D)
(+ Friend)
Not online within the last half an hour
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 :P
14.11.03 19:19
Post #7
[Hide Sig (0)] [Profile] [Quote]
[S]ReadMe
Absent
Send PM
Posts: 2820
Threads: 85
Money: £43.42 (D)
(+ Friend)
Not online within the last half an hour
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]
[S]Zogger!
Looking For Status
Send PM
Posts: 3954
Threads: 62
Money: £93.82 (D)
(+ Friend)
Not online within the last half an hour
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
An Avatar
Posts: 1970
Threads: 50
Mood: Optative
Money: £268.57 (D)
(+ Friend)
Not online within the last half an hour
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
An Avatar
Posts: 1970
Threads: 50
Mood: Optative
Money: £268.57 (D)
(+ Friend)
Not online within the last half an hour
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]
[S]Zogger!
Looking For Status
Send PM
Posts: 3954
Threads: 62
Money: £93.82 (D)
(+ Friend)
Not online within the last half an hour
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]
[B]C1
Looking For Status
Send PM
Posts: 0
Threads: 0
Money: £0.18 (D)
(+ Friend)
Not online within the last half an hour
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
An Avatar
Posts: 838
Threads: 17
WWP Clan: DIE
Mood: do i LOOK like i'm kidding?
Money: £512.10 (D)
(+ Friend)
Not online within the last half an hour
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
An Avatar
Posts: 1970
Threads: 50
Mood: Optative
Money: £268.57 (D)
(+ Friend)
Not online within the last half an hour
*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] []

Post Reply

Jump To:


Your Comments:

Donate to BlameThePixel:
Donate to BTP Via PayPal


[22 Queries, Page Loaded in 0.369781 Seconds]

ShoutMeUp

Xmas Greetings from waka waka waka waka []Unvalidated EmailChristmasRiddle MERRY CHRISTMAS EVERYONE! []Spleet Except for Spleet. []TheAbdBoy Always bummin' a brother out. []Spleet Happy New Year everyone! But Spleet. []TheAbdBoy

Word Association

All

-10 Ago-

MiddleEastern []AlphaWolf camel [S]Bloopy toe []TheAbdBoy moose knuckle [S]Bloopy MeatLoaf []Spleet IdDoAnything4Lo ve []AlphaWolf rub n tug []TheAbdBoy tugboat []The Pope rope [S]Bloopy race []TheAbdBoy

-Latest-


Must be logged in to add new words

FictoLeague

You have to be logged in to vote...

Member Stats

Date: 24.11.24.
Members: 4731.
Latest: []Unvalidated Emailsdsakldsaldklasdsdsa
Active:
0 user(s)
1 guest(s)

On chat:
Lots of people

Files: 3330

Bloopy's Site
Get Firefox Get Opera Donate to BTP Via PayPal