I know how to store data in MySQL. Shortly, I know the basics: design, storing strings, integers, date.
Is there something else that could be done/achieve with MySQL? Like some kind of functions, temprory bla blas? I don't know.
(I know PHP)
...
I have a mysql table - request_events with three fields; request_eventsid,datetime,type.this table will track all the activities of my website day wise and also type wise.thus,type may be 1 or 2.I need to display an open-chart for understanding the progress.So I need to retrieve the ratio of type2/type1 as input day wise.How can I get a...
Hi All,
We're evaluating MySQL and PostgreSQL for building our indic language(using utf-8 encoding) web application which will use MySQL or PostgreSQL.
One of my colleagues mentioned that MySQL had issues with i18n. I mostly come from the Oracle world and although I've played a lil with MySQL, I don't know enough to know that there are...
hi all,
I want to know that is there any way to know after which page an user is leaving the website.
So that I can track that page and work to improve the content of that page.
I am using PHP as backend code.
...
I'm still a beginner in java. I dont have any idea on how to import the files that I have downloaded into my java class.
Its in this path:
E:\Users\user\Downloads\mysql-connector-java-5.1.12
I don't know what to do with the files I extracted from the file that I have downloaded in the mysql site for me to connect my java application a...
I am a little bit new to the PHP/MYSQL arena, and had an idea to be able to interact with my Database by using a hidden Iframe to run PHP pages in the background(iframe) on events without having to leave the current page?
Good? Bad? Common Practice? Opinions?
...
Hello
i want to search table and get best match from the table using like not FULL TEXT SERCH.iS there any wat to do?
...
i want to get distinct values for a field, let say: field1...
ok this needs a query like: "select distint(field1) from table"
however for some records, field1 is empty and there is another column that is an alternative to field1, which is field2. now; for the records where field1 is empty i need to use the value of field2. i think i nee...
Hi
Which is generally faster for small web projects - MySQL or Oracle?
Please provide some proof (benchmarks or any other) of your opinion.
...
i have around (1,049,906 total, Query took 0.0005 sec) in my x table ,
If i simply retrieve trying to retrive the particular field records ,
Its tooks hardly 6 mins ,
This is my query
SELECT CUSTOMER_CODE FROM X_TBL ;
CUSTOMER_CODE => UNIQUE
THE ABOVE QUERY TOOK 6MIN ,
Tel me optimization tips for this ,
Also in some situatio...
how to store java date type to mysql date type?
...
I'm going to start a new project which is going to be small initially but may grow to big over the years. I'm strongly convinced that I'm going to use ASP.NET MVC with jQuery for UI. I want to go for MySQL as database for some reasons but worried on few things.
I'm totally new to Linq but it seems that it is easier to use once you are f...
Hello,
I am using a login system that works well. I am also using a comment system. The comment function does not show up unless the user is logged in (as shown in commentformonoff.php below).
When a user makes a comment, the info is passed from the function "show_commentbox" to the file comments2a.php. Then, the info is passed to t...
Is it possible to execute a php file using mysql stored procedure or event scheduler?
...
We need to deploy application(developed by Java) WAR file in client place which make use of MySql 5.0. But we would like to restrict the client (the application owner, not the webpage visitor) from modifying any data in the database. Is there any way to protect data. The client can make use of the application but they should not be able ...
which one is the fastest way to completely copy a table on mysql ?
CREATE TABLE copy LIKE original;
INSERT INTO copy SELECT * FROM original;
or
CREATE TABLE copy SELECT * FROM original;
ALTER TABLE copy ADD PRIMARY KEY (id);
or theres another way ?
EDIT: I'm worried about the indexes being re-created, how does mysql proceed execut...
Hello,
I am using three MySQl tables:
comment
commentid loginid submissionid comment datecommented
login
loginid username password email actcode disabled activated created points
submission
submissionid loginid title url displayurl datesubmitted
In these three tables, the "loginid" correspond.
I would like to pull the top ...
I have a working PHP server. Now I want to use databases (MySQL or something similar). Is it possible to create a database from PHP?
I would like to emphasize that in my case I do not have any user-name and password which I can use to connect to MySQL server. I also do not have a control-panel where I could create a database or a table ...
Can someone explain me when I set everything to UTF-8 I keep getting those damn ���
MySQL
Server version: 5.1.44
MySQL charset: UTF-8 Unicode (utf8)
I create a new database
name: utf8test
collation: utf8_general_ci
MySQL connection collation: utf8_general_ci
My SQL looks like this:
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
CREATE TABL...
I have created the following entity bean, and specified two columns as being unique. Now my problem is that the table is created without the unique constraint, and no errors in the log.
Does anyone have an idea?
@Entity
@Table(name = "cm_blockList", uniqueConstraints = @UniqueConstraint(columnNames = {"terminal", "blockType"}))
public c...