The forums are currently locked and only available for read only access
Calzone
Siktar mot toppen
Medlem
Forum Posts: 94
Member Since:
June 21, 2004
June 21, 2004
Offline
Jag har en fil med kod som ser ut såhär:
CREATE TABLE users (
id mediumint(9) NOT NULL auto_increment,
login varchar(50) NOT NULL,
host varchar(50) NOT NULL,
dateCreated int(12),
lastLogin int(12),
userLevel int(3),
PRIMARY KEY (id),
KEY id (id),
UNIQUE id_2 (id),
KEY login (login),
KEY host (host)
);
osv... det är över tio tabeller.
Hur laddar jag in den här filen i mysql så att tabellerna skapas automatiskt och jag slipper knappa in allt själv?
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1030
Currently Online:
Guest(s) 406
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Andreas Galistel: 16287
Jonas Klar: 15897
ilg@dd: 10810
Nyhet: 10607
Mind: 10550
Ctrl: 10355
Gueno: 9881
Guest: 9344
Snorch: 8881
Callister: 8468
Newest Members:
PetrbonFU PetrbonFU
Karine Bembry
Dolores Mcdaniels
Anibal McLeish
Francisca Alt
Alfie Everhart
Lester Huitt
Orlando Jorgensen
Mikki Lundgren
Dakota Kozlowski
Forum Stats:
Groups: 11
Forums: 59
Topics: 146630
Posts: 1300967
Member Stats:
Guest Posters: 2
Members: 79425
Moderators: 0
Admins: 11
Administrators: nordicadmin, Henrik Berntsson, Anton Karmehed, Carl Holmberg, Joel Oscarsson, Mikael Linnér, Mikael Schwartz, Andreas Paulsson, Nickebjrk, Mattias Pettersson, EmxL
© Simple:Press —