1) Used my-small.cnf as a template, changing basedir and datadir to the proper paths, and UNCOMMENT them both.
2) Rename my-small.cnf to my.ini and put it in the WINDOWS folder (not in system32 or any subfolder, just directly in c:\windows).
3) Type NET START mysql from a dos prompt.
Satya - Tuesday, December 21, 2004 9:00:45 AM
Installing a new release of MySQL
Make sure you stop the service and remove the service followed by removing the existing mysql. Remoce the windows\mysql.ini if it is there. Then uninstall it. Try installing the new one now.
If it fails creating a service, remove the service and add it again.
Satya - Tuesday, December 21, 2004 9:01:51 AM
How can I install a service?
Use mysqld-nt --install command for installing it and mysqld-nt --remove for removing it
The user I have specified at installation time does not seem to work. How do I do this?
Satya - Tuesday, December 21, 2004 9:03:58 AM
How can I import a database dump?
I need step by step instructions in getting this done.
annonymous - Tuesday, December 21, 2004 1:10:57 PM
loading data
satya...the simplest way to load the data is to
1. go into mysql..thru control center or command line
2. run the sql file that i sent...
you should have no problem...what i sent is a straight sql file.
Satya - Thursday, December 30, 2004 11:24:04 AM
How can I insert a date into mysql?
In access this is done as now() and in oracel i believe today(). What would be an equivalent in mysql.
Satya - Thursday, December 30, 2004 11:43:08 AM
Now() will work in mysql as well
Example
insert into sometable
(col1)
values (now())
Satya - Thursday, December 30, 2004 11:44:48 AM
How can I get the newly inserted id in mysql?
After an insert happens the auto increment column would have been incremented. Databases expose this newly created id on the current connection. What is the key word in sql to get this in mysql
Satya - Thursday, December 30, 2004 11:52:49 AM
It is called
Example
select last_insert_id()
Satya - Sunday, January 02, 2005 8:56:47 AM
What are all the data types supported by mysql
The list seems to be
text
integer
double
varchar
decimal
What additional data types are there?
Satya - Sunday, January 02, 2005 8:59:58 AM
How to store or insert the decimal data types using sql
For example the following command will not work
update tablet set col1=10.95
This will put a value of 11 in that field. Looks like we may have to use a conversion function to accomplish this.
satya - Saturday, November 18, 2006 10:04:16 PM
Basics needed to connect to mysql
hostname (localhost)
port number (3306)
username (root)
password
schema (test)