Autor Zpráva
Norbert Pelc
Profil
Dobrý den,
mám databazi users.sql
prosim zkontrolujte ji a poraďte, jak mám co mám vložit abych zapsal uživatelovo jméno a heslo.
Tabulka s 2 sloupci: login a password
prosim pomoc
kod:
mysql

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17 to server version: 4.1.10a-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>


create table users (id int not null AUTO_INCREMENT);
create table login ( VARCHAR (20), ;
create table password ( CHAR (15), ;
Casero
Profil
Norbert Pelc
bo ty vytváříš 3 tabulky...zkus si přečíst www.linuxsoft.cz serial o mysql
Suji
Profil
CREATE TABLE `users` (
`users_id` INT( 11 ) NOT NULL AUTO_INCREMENT ,
`login` VARCHAR( 25 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`password` VARCHAR( 64 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
PRIMARY KEY ( `users_id` )
)
Norbert Pelc
Profil
A ten tento kod je v poho

mysql

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 17 to server version: 4.1.10a-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
Toto téma je uzamčeno. Odpověď nelze zaslat.

0