![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Being new to mysql, I just wanted to ask if it poses any problems to go in there and add attributes to tables and possibly add other tables? You can modify the structure once it is already in use, right? As long as the existing structure still functions like it did before? |
#3
| |||
| |||
|
|
Hello, I have a mysql database that keeps track of some users and their files. The database is manipulated with an iphone app that communicates with a php script on a server. I put this together last year, and it was my first foray into mysql. It has worked great this whole time, but now I need to make some changes. Being new to mysql, I just wanted to ask if it poses any problems to go in there and add attributes to tables and possibly add other tables? You can modify the structure once it is already in use, right? As long as the existing structure still functions like it did before? I just don't want to screw anything up with it as I make changes! Thanks B |
#4
| |||
| |||
|
|
Bint: Being new to mysql, I just wanted to ask if it poses any problems to go in there and add attributes to tables and possibly add other tables? You can modify the structure once it is already in use, right? As long as the existing structure still functions like it did before? Exactly. Keep in mind that you can define default values for new table fields. Your existing records will also contain the new fields, so it might make sense to have appropriate default values for records that haven't been assigned values so far. Oh: have you considered copying your database first and use it as a test database? That way, you can experiment all you like, without destroying any valuable data in your production database. And...at least make a backup first (if you don't have one yet). Enjoy and good luck. |
#5
| |||
| |||
|
| On 2/9/11 11:23 AM, in article 8rg0sdFcn4U1 (AT) mid (DOT) individual.net, "Erick T. Barkhuis" <erick.use-net (AT) ardane (DOT) c.o.m> wrote: .... Oh: have you considered copying your database first and use it as a test database? That way, you can experiment all you like, without destroying any valuable data in your production database. And...at least make a backup first (if you don't have one yet). Thanks, I did make a backup. Hopefully I will not have to use it! |
|
Would it be easy to make a copy of the current database to use as an experiment? How would I transfer the changes back to the original -- just redo them? |
#6
| |||
| |||
|
|
Hello, I have a mysql database that keeps track of some users and their files. The database is manipulated with an iphone app that communicates with a php script on a server. I put this together last year, and it was my first foray into mysql. It has worked great this whole time, but now I need to make some changes. Being new to mysql, I just wanted to ask if it poses any problems to go in there and add attributes to tables and possibly add other tables? You can modify the structure once it is already in use, right? As long as the existing structure still functions like it did before? |
|
I just don't want to screw anything up with it as I make changes!# well backup first then plan carefully and consider implications, and |
#7
| |||
| |||
|
|
On 09-02-11 18:18, Bint wrote: Hello, * I have a mysql database that keeps track of some users and their files. The database is manipulated with an iphone app that communicates with aphp script on a server. I put this together last year, and it was my first foray into mysql. *It has worked great this whole time, but now I need to make some changes. Being new to mysql, I just wanted to ask if it poses any problems to goin there and add attributes to tables and possibly add other tables? *You can modify the structure once it is already in use, right? *As long as the existing structure still functions like it did before? I just don't want to screw anything up with it as I make changes! Thanks B Adding tables is not a problem, The only problem i see in changing tables is, when you do something like this now: SELECT * from tablename; |
#8
| |||
| |||
|
|
Being new to mysql, I just wanted to ask if it poses any problems to go in there and add attributes to tables and possibly add other tables? You can |
|
modify the structure once it is already in use, right? As long as the existing structure still functions like it did before? |
|
I just don't want to screw anything up with it as I make changes! |
#9
| |||
| |||
|
|
I just don't want to screw anything up with it as I make changes! |
#10
| |||
| |||
|
|
On Feb 9, 5:26*pm, Luuk <L... (AT) invalid (DOT) lan> wrote: On 09-02-11 18:18, Bint wrote: Hello, * I have a mysql database that keeps track of some users and their files. The database is manipulated with an iphone app that communicates with a php script on a server. I put this together last year, and it was my first foray into mysql. *It has worked great this whole time, but now I need to make some changes. Being new to mysql, I just wanted to ask if it poses any problems to go in there and add attributes to tables and possibly add other tables? *You can modify the structure once it is already in use, right? *As long as the existing structure still functions like it did before? I just don't want to screw anything up with it as I make changes! Thanks B Adding tables is not a problem, The only problem i see in changing tables is, when you do something like this now: SELECT * from tablename; Not as devastating as INSERT INTO tablename VALUES (...) |
![]() |
| Thread Tools | |
| Display Modes | |
| |