Web Hosting Talk







View Full Version : PHP + MySQL under WindowsXP


ebird
05-06-2001, 01:02 PM
Hi Mods,

I don't know where is the proper forum for this question, so I put it here first. Please help me move it to where it belongs. Thanks.

Environment:
OS: WindowsXP Professional Beta 2, IIS 5.1 installed.
PHP and MySQL installed as they are and nothing was modified.
Put hello.php into \inetpub\wwwroot and it works.

MySQL + PHP Questions:
1. I am trying to test vBulletin on the local machine. It need db name, username, and password. How do I create a new password for "root"?
2. How do I create a blank new database?
3. How do I create a new user?
4. How do I add the user so that the user can modify the certain database?
5. I tried to test phpBB on the local machine, and it asked me to change the file attributes. I know how to do it with an ftp client, but how to do it on a windows machine?

Windows Questions: (WindowsXP + Symantec Internet Seciruty FE 2.5)
1. After installed the IIS 5.1, and I started the server. I can read the file in \wwwroot\ by typing "localhost" or my IP. The problem is: I could get access to my IP from other machines. Is this a firewall issue? Or how to make accessable by others?

A lot of questions, but I really need you help.

Thanks.

ebird

ebird
05-06-2001, 05:32 PM
cried for help. Please.

ebird

onlyreal
05-06-2001, 06:32 PM
How you find windows xp

if you know any address that i can download it(warez etc..)

please e-mail me thanks

dherman76
05-06-2001, 07:12 PM
Windows XP can be found at Microsofts site. ITs in beta and they are charging about $10 for it.

Foo-Dawg
05-06-2001, 07:30 PM
Ok now I'm not sure how everything works in XP but usually by Win32's default install you can log into mysql as root without a password. Bascially, once mysql is running go into the terminal (Shell and/or DOS, which I'm not sure is availble) and type "mysql -u root" then enter. You should see the mysql prompt.

At the mysql prompt you can create a new db by typing "create database newdatabasename ;".

Also for most of this try the manual, this (http://www.mysql.com/doc/W/i/Windows_running.html) page in the manual for help on most of this.

Win32 at least 98/ME don't have file permissions and most scripts that interact with files should work fine. However I'm not sure what the exact error might be with phpBB.

Hope this is some help at least a start in the right direction.

ebird
05-06-2001, 08:27 PM
Hi Foo-Dawg,

This is the most helpful answer to my question. Thanks a lot.

ebird

The Prohacker
05-06-2001, 09:01 PM
if you know any address that i can download it(warez etc..)

Great this is turning into a warez board.. hell maybe we should join with a few other boards I run :D

That was a joke :D

cimshimy
05-06-2001, 10:35 PM
I just registered for that Windows XP preview thing and it says it won't be available 'til June/July. That sucks.. I was expecting to download it now.

Damn microsoft


Andrew

OpenBSD
05-07-2001, 12:08 AM
I should probably use stronger language but I haven't had the guts since watching Scarface.

Let's see Windows XP as a server... that's REAL funny. I've ran, seen it run, and heard comments from a lot of other people. Basically XP really at the core shouldn't be used as a server. I know I'm MS bias but I'd use NT or Win2k as long as you can. (Or maybe use OpenBSD... )

Basically Windows XP uses a lot of system resources on purpose. It's a big ploy for people to buy new computers (is there any reason for a person who just uses word processing to upgrade to a 1.4 GHZ with 256 megs of RAM?)

Also every Windows XP I've seen running contacts an MS server because of the whole anti-piracy/.NET thing. I really question what effects that would have on a high-capacity server.

On a side note, I installed it on a clean system and went through hell and back trying to format the damn thing.

Sorry for the rant, I hope I'll spare some people hassle. I can see the need to try out server software on upcoming technology but I know people who are just now thinking about making the switch to Windows 2000 Server.