LMSouq

Knowledge Base

Browse Moodle Solutions

Clear

422 solutions found in database

Page 9 of 22
0 votes
1 ans
3 views
Dropping Unique constraint from MySQL table

How can I drop the "Unique Key Constraint" on a column of a MySQL table using phpMyAdmin?

database Solved
AN
asked 1 month ago by Ankur Mukherjee
0 votes
1 ans
3 views
Can I restore a single table from a full mysql mysqldump file?

I have a mysqldump backup of my mysql database consisting of all of our tables which is about 440 megs. I want to restore the contents of just one of the tables...

database Solved
MO
asked 1 month ago by Mobius
0 votes
1 ans
3 views
MySQL Update Inner Join tables query

I have no idea what the problem is. Using MySQL 5.0 I get a compile error when attempting to run the following MySQL update query: UPDATE b SET b.m...

database Solved
VI
asked 1 month ago by Vibration Of Life
0 votes
1 ans
3 views
MySQL Cannot Add Foreign Key Constraint

So I'm trying to add Foreign Key constraints to my database as a project requirement and it worked the first time or two on different tables, but I have two...

database Solved
JO
asked 1 month ago by joshuaegclark
0 votes
1 ans
3 views
MySQL - How to select data by string length

```sql SELECT * FROM table ORDER BY string_length(column); ``` Is there a MySQL function to do this (of course instead of `string_length`)?

database Solved
GA
asked 1 month ago by Gal
0 votes
1 ans
3 views
What is the MySQL VARCHAR max size?

I would like to know what the max size is for a MySQL VARCHAR type. I read that the max size is limited by the row size which is about 65k. I tried setting...

database Solved
US
asked 1 month ago by user1832628
0 votes
1 ans
3 views
How to export and import a .sql file from command line with options?

**Not Duplicate!** looking for some feature have phpmyadmin during export in command line I want to export and import a .sql file to and from a MySQL databas...

database Solved
AZ
asked 1 month ago by AZinkey
0 votes
1 ans
3 views
SQL keys, MUL vs PRI vs UNI

What is the difference between `MUL`, `PRI` and `UNI` in MySQL? I'm working on a MySQL query, using the command: desc mytable; One of the fiel...

database Solved
TH
asked 1 month ago by themaestro
0 votes
1 ans
3 views
MySQL Orderby a number, Nulls last

Currently, I am doing a very basic OrderBy in my statement. SELECT * FROM tablename WHERE visible=1 ORDER BY position ASC, id DESC The problem with th...

database Solved
JO
asked 1 month ago by JonB
0 votes
1 ans
3 views
Auto Generate Database Diagram MySQL

I'm tired of opening Dia and creating a database diagram at the beginning of every project. Is there a tool out there that will let me select specific table...

database Solved
CM
asked 1 month ago by cmcculloh
0 votes
1 ans
3 views
MySQL and GROUP_CONCAT() maximum length

I'm using `GROUP_CONCAT()` in a MySQL query to convert multiple rows into a single string. However, the maximum length of the result of this function is `1...

database Solved
ZE
asked 1 month ago by ZeWaren
0 votes
1 ans
3 views
How to check if mysql database exists

Is it possible to check if a (MySQL) database exists after having made a connection. I know how to check if a table exists in a DB, but I need to check if th...

database Solved
AN
asked 1 month ago by Ankur
0 votes
1 ans
3 views
grant remote access of MySQL database from any IP address

I am aware of this command: GRANT ALL PRIVILEGES ON database.* TO 'user'@'yourremotehost' IDENTIFIED BY 'newpassword&#...

database Solved
AD
asked 1 month ago by adit
0 votes
1 ans
3 views
How do I query between two dates using MySQL?

The following query: SELECT * FROM `objects` WHERE (date_field BETWEEN '2010-09-29 10:15:55' AND '2010-01-30 14:15:55') returns...

database Solved
NU
asked 1 month ago by NullVoxPopuli
0 votes
1 ans
3 views
Setting up foreign keys in phpMyAdmin?

I'm setting up a database using phpMyAdmin. I have two tables (`foo` and `bar`), **indexed on their primary keys**. I am trying to create a relational table...

database Solved
NA
asked 1 month ago by Nathan Long
0 votes
1 ans
3 views
For homebrew mysql installs, where's my.cnf?

For homebrew mysql installs, where's my.cnf? Does it install one?

database Solved
CH
asked 1 month ago by chrismealy
0 votes
1 ans
3 views
How to install Python MySQLdb module using pip?

How can I install the [MySQLdb][1] module for Python using pip? [1]: http://mysql-python.sourceforge.net/MySQLdb.html

database Solved
MA
asked 1 month ago by Marian
0 votes
1 ans
3 views
Inserting multiple rows in mysql

Is the database query faster if I insert multiple rows at once: like INSERT.... UNION INSERT.... UNION (I need to...

database Solved
EM
asked 1 month ago by Emma
0 votes
1 ans
3 views
Storing JSON in database vs. having a new column for each key

I am implementing the following model for storing user related data in my table - I have 2 columns - `uid` (primary key) and a `meta` column which stores other...

database Solved
SH
asked 1 month ago by ShuklaSannidhya
0 votes
1 ans
3 views
How big can a MySQL database get before performance starts to degrade

At what point does a MySQL database start to lose performance? - Does physical database size matter? - Do number of records matter? - Is any performa...

database Solved
GR
asked 1 month ago by Grant