Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Using Mysqldb


I have to move my database to a different system.

Will using mysqldump to create a .sql file is going to dump only schema or is it going to dump data in the tables as well.

I have stored many files in my database and i want to move both my schema as well as my data to a different system.

I created a .sql fiile by command "mysqldump --user=root -p my_database > C:my_database.sql




View Complete Forum Thread with Replies

Related Forum Messages:
MySQLdb Slow
I have a Python program that parses a file and inserts records into a
database with MySQLdb. I recently upgraded to MySQL 5.0.8, and now my
parser runs *really* slow. Writing out to CSV files is fine, but when I
try to insert the same records in a MySQL5 database, it slows to a
crawl. Using MySQL 4.1 seems fine. The data seems to be inserted
correctly, it's just really slow.

View Replies !
MySQLdb Transfer From Python Mod.
how to export from python from this module, is a very small project and the rest is pretty simple. how to transfer this data into the table "stable" in database "mystable" :) useing msqldb. I tried:

INSERT INTO stable (name, age)
VALUES
"%s", "%s" % (Name, Age)
""")


import stallion
import mare

Age = stallion.StallionA()

Name = raw_input ("Name Your Horse")
print Name

# create speed rating start-600m
f1 = stallion.Stallion()
f1m = mare.Mare()
fur1 = f1.val + f1m.val
print fur1

View Replies !
MySQLdb Python API: Unable To Connect
I am using MySQL 5.0 beta and Active Python 2.4. I have the correct
version of MySQLdb installed. The problem is that I can't connect to
MySQL through the Active Python interactive window. Code:

View Replies !
Updating Mysqldb With A "WHERE CLAUSE"
I am doing an update of a table with an entry from the web form.

i.e a user logs in with username and passord. If successful, i need to increament a login_count column on the users table by 1

This is my script.

When I remove the WHERE CLAUSE, it works and update every record on the table. When I add it, it doesn't work and it doesn't error. Code:

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved