I have created the database with the script below.
but it's keep on showing me the error : Please help
CREATE TABLE `user_master` (
`UID` int(11) NOT NULL,
`USER_NAME` varchar(50) ...
I run a query which successfully selcts INTO OUTFILE.
But I would like to keep the mysql structure when this select is done, so the result should not be a text file, but the table,rows ......
I am using, as per my understanding, MySQL version 5.0.45-community.
Using a PHP script, I am retrieving text from a database after inputting it with phpMyAdmin. This text contains apostrop...
I would like to create two drop-down menus and a keyword search field to query my database. If the first menu is selected (categories), it should change the second menu (manufacturer) and the...
I am currently uploading large amounts of data into a mysql database using php. I upgraded to MySQL 5.0.16 and php 5.1.1 and now I'm getting an error that says: "Data truncated for column x at...
I've installed WAMP Server 2.0 onto my Windows XP SP2 system and I'm trying to import a mySQL database that was downloaded from the online server using Cpanel's database backup utility. The f...
Scenario:
I query the db and I get a number of rows returned.
They are displayed in a form with fields to be updated
I know how to do the update on a one by one basis.
What I want ...
Dear experts,
I have a table with entities. They have parent child relations, i.e. so entity "dad" would be entity 1 have parent 0, and child "firstC" would have as parent "dad" and could h...
Hi to all,
I need to know the value of an autoincrement field that mySQL will assign previous to insert the record in the database.
Is it possible?, how?.
A little bit urgent...thanks!!
Is their a way to count the columns in a table?
Hi,
I have a piece of software which takes SMS's from a mobile phone and puts that message straight in to a MySQL database table. The software creates the timestamp of the SMS in UNIX forma...
I have installed a RHEL 5 server with php5 and mysql5. Now I need to have the mysqli extension installed. I looked for a RHEL5 RPM for mysli but there isn't any. ALso on google nothing to find...
Hi,
It seems I must have changed the 'root' user permissions on my databases...and now I can't access anything. I get the following error.
DBI connect failed : Access denied for user: '@l...
Hello experts,
I'm struggling with a simple bit of SQL syntax. I've got two tables, and I'd like to do a select from each of them in one statement. My best guess is below - each of the sele...
Hello,
Please could you help me with the Stored Procedure below, I am new to working with Stored Procedures in MySQL 5.0, converting over from SQLServer, and keep getting errors.
Using p...
I am trying to set up MySQL ODBC 5.1 in Windows XP. I have previously installed 3.51 but it had severe limitation problems. My MySQL server is version 4.0.18 running on Linux RedHat 9. When...
I need to create a report in Crystal Reports on a MySQL database. This database stores dates as numbers i.e the createddate field for a record is returned as the number 1,152,516,600,000.00 in...
Dreamweaver MX2004
Apache/PHP/mySQL
I have added a form to my home page to allow users to submit a picture. The form includes one "file filed" (Browse) and three text fields:
Your Name:...
I am trying to get Mysql to run on Fedora Core 6. The error that I keep getting when attempting to start mysqld is the following:
login as: root
root@192.168.5.32's password:
Last login: ...
I have just installed phpMyAdmin 2.6.4-pl3 on a fresh install of mySQL 4.0.26 / PHP 4.4.1 on windows server2003. Using command line or WinMySQLadmin, I can verify the mySQL server is running. ...
I'm trying to add a trigger to a database using phpmyadmin. However, I get the error:
Access denied; you need the SUPER privilege for this operation
How would I sort this out in phpmyadmin?
Hello,
I use Linux (CentOS) to run my web server, and I use MySQL for the database.
I need to do the following from a mysql command line:
LOAD DATA INFILE '/home/mydir/dump.txt...
I have a complex string: columnX = "A::B::C::D;;AA::BB::CC:DD"
This string represents two records delimtied with ;; and each record's fields delimited with ::
There may be more or less recor...
here is my INSERT Statement:
("INSERT INTO STUDENT (FNAME,LNAME,EMAILADDRESS,DATE) VALUES ('LName','FName','email@server.com','{0}')",DateTime.Now.ToShortDateString());
using ODBC, this...
Hi,
I am new to MySQL and am currently using the MySQL GUI Tools, specifically the MySQL Query Browser. I am trying to create a foreign key to create a relationship between two tables. I go...