Closed Thread Icon

Topic awaiting preservation: installing mysql (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12263" title="Pages that link to Topic awaiting preservation: installing mysql (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: installing mysql <span class="small">(Page 1 of 1)</span>\

 
jive
Paranoid (IV) Inmate

From: Greenville, SC, USA
Insane since: Jan 2002

posted posted 06-14-2002 22:56

man o' man am I having a hard time with this. Does anyone have a "idiots instructions" place I can go to learn how to install my sql on my windows xp machine. One place I went says to find a file called my-example.cnf and rename it to my-cnf.cnf and put it in the root of c:. Problem is that file is nowhere to be found in my my sql directory.

Anyone. Bueller?..... Bueller? ......Bueller?

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 06-14-2002 23:28

i dont think you have to use this one.

did you already run the installer you downloaded from mysql.com? as far as i remember you just install it like any other app.

jive
Paranoid (IV) Inmate

From: Greenville, SC, USA
Insane since: Jan 2002

posted posted 06-14-2002 23:45

thats for windows 95/98/me machines. For xp/2000 you should need that file. Im basing this off of a tutorial I'm reading here: http://www.webmasterbase.com/article/525/8 . Any clues?

jive
Paranoid (IV) Inmate

From: Greenville, SC, USA
Insane since: Jan 2002

posted posted 06-15-2002 00:21

Another question, how do you know it works after you install it. I know with apache, you type in "localhost" and php you call up phpinfo.php. Is there a way to know that your installation for mysql had been successful?

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 06-15-2002 00:25

i can only say, i have XP and just did the same installer. no config file, nothing!

test: just run the mysql.exe from your mysql/bin directory and you can do old-school sql from the command line.
OR:
run the winmysqladmin.exe from the same location and play around with it.

jive
Paranoid (IV) Inmate

From: Greenville, SC, USA
Insane since: Jan 2002

posted posted 06-15-2002 00:59

yeah, I kinda stumbled into the mysqladmin.exe I have the server running. Do you know if I have to connect it to odbc? I'm kinda new to databases.

Xdreamer.ch
Maniac (V) Inmate

From: Switzerland
Insane since: Mar 2001

posted posted 06-15-2002 01:42
code:
<html>
<!-- Creation date: 21.08.01 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>php_ODBC_connection</title>
</head>
<body>
<?php
$host="localhost";
$user="a";
$pass="b";

$conn = odbc_connect($host,$user,$pass);
echo "conn: $conn";
if ($conn <= 0) {
echo "no chance...";
exit;
}
else {
echo "<P>YEEEEEEEEEEEEEEEEEEEES\n";
};
odbc_Close($conn);


?>
</body>
</html>



a: your username
b: your password

hope this will help

cu
~Xdreamer.ch~

jive
Paranoid (IV) Inmate

From: Greenville, SC, USA
Insane since: Jan 2002

posted posted 06-15-2002 02:55

ok, now do I create a form to use this code?

« BackwardsOnwards »

Show Forum Drop Down Menu