Use the MySql command client. Or phpMyAdmin.
Printable View
Use the MySql command client. Or phpMyAdmin.
MySql makes everything very easy.
Query for creating the table:
Then insertion would be as easy as:Code:CREATE TABLE users (id int(6) auto_increment NOT NULL,username varchar(15) NOT NULL,password varchar(15) NOT NULL,other fields,PRIMARY KEY(id),UNIQUE id(id),KEY id_2(id))
Code:INSERT INTO users VALUES('','username','password','other values')
. . . In this case, I'd rather not have to use that. Is that a "no" to my question?
A second idea: is there a way to impot a table into MySQL?
Yes. But it is complex. Try searching the forums, I remember there being something about this before.Quote:
A second idea: is there a way to impot a table into MySQL?
That's excellent news! I'll check and see if this solves things for me. It's still not ideal, but oh well. . .
When i switched from windows to linux, i just copied the mysql data directory into the new directory on linux...