![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: help, mysql, programming, tutorial |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |
| |||
| Try the MySQL tutorial at MySQL AB :: MySQL 5.0 Reference Manual :: 3 Tutorial In my opinion, that is a very good tutorial. Also, for VARCHAR, I believe you need to set a length: Code: create table Member ( username varchar(32), pass varchar(32) ); Last edited by rpgfan3233 : 07-09-2007 at 08:19 PM. |
| The Following User Says Thank You to rpgfan3233 For This Useful Post: | ||
HelloWorld (07-09-2007) | ||
| ||||
| fart! look at this crappy tutorial... SQL Create Database, Table, and Index gave me a wrong code XD Man, I was comparing it like for about 5 minutes and gave up thanx pal~! ![]() |
| |||
| I just installed MySQL. Here is what I did: create database mytest; use mytest; create table Member ( username varchar(32), pass varchar(32) ); |
| The Following User Says Thank You to rpgfan3233 For This Useful Post: | ||
HelloWorld (07-09-2007) | ||
| ||||
| Quote:
It did works well.. Thanx a lot ![]() |
| ||||
| I would say learn how mysql works by coding using all the different commands in your website, to make your databases at first install and use phpmyadmin, it will make life easier to start and then when it comes to making databases in your script then it would be much easier as you will have a lot of knowledge on how the mysql syntax should be. |
| |||
| I'm thinking that url you were looking at was for MsSQL not MySQL. Still, its best practice to define field lengths when possible when creating your table schema's. __________________ Day Cares | Golf Courses | Disc Golf Courses | Campgrounds | Ice Rinks | Paintball Fields | Dentists | Plastic Surgeons | Aging Jokes Catholic Churches | Lutheran Churches | Methodist Churches | Episcopal Churches | Clean Jokes |
| The Following User Says Thank You to ccoonen For This Useful Post: | ||
HelloWorld (07-10-2007) | ||
![]() |
| Thread Tools | |
| Display Modes | |
| |