LMSouq

Knowledge Base

Browse Moodle Solutions

Clear

422 solutions found in database

Page 19 of 22
0 votes
1 ans
3 views
Run MySQLDump without Locking Tables

I want to copy a live production database into my local development database. Is there a way to do this without locking the production database? I'm cur...

database Solved
GR
asked 1 month ago by Greg
0 votes
1 ans
3 views
When to use MongoDB or other document oriented database systems?

We offer a platform for video- and audio-clips, photos and vector-grafics. We started with MySQL as the database backend and recently included [MongoDB][1] for...

database Solved
AU
asked 1 month ago by aurora
0 votes
1 ans
3 views
How do I find the MySQL my.cnf location

Is there a MySQL command to locate the `my.cnf` configuration file, similar to how PHP's `phpinfo()` locates its `php.ini`?

database Solved
RO
asked 1 month ago by robinmag
0 votes
1 ans
3 views
Show Procedures/Functions MySQL Command Line

How can I see the list of the stored procedures or stored functions in mysql command line like `SHOW TABLES;` or `SHOW DATABASES;` commands.

database Solved
SY
asked 1 month ago by systemsfault
0 votes
1 ans
3 views
How do I add indexes to MySQL tables?

I've got a very large MySQL table with about 150,000 rows of data. Currently, when I try and run SELECT * FROM table WHERE id = '1'; the c...

database Solved
MI
asked 1 month ago by Michael
0 votes
1 ans
3 views
Is there an SQLite equivalent to MySQL's DESCRIBE [table]?

I'm just getting started learning [SQLite][1]. It would be nice to be able to see the details for a table, like MySQL's `DESCRIBE [table]`. `PRAGMA tabl...

database Solved
MA
asked 1 month ago by Matthew
0 votes
1 ans
3 views
What is the error "Every derived table must have its own alias" in MySQL?

I am running this query on MySQL SELECT ID FROM ( SELECT ID, msisdn FROM ( SELECT * FROM TT2 ) ); and it...

database Solved
SI
asked 1 month ago by silverkid
0 votes
1 ans
3 views
How do I connect to a MySQL Database in Python?

How do I connect to a MySQL database using a python program?

database Solved
MA
asked 1 month ago by Marc Lincoln
0 votes
1 ans
3 views
How can I do a FULL OUTER JOIN in MySQL?

I want to do a *[full outer join][1]* in MySQL. Is this possible? Is a *full outer join* supported by MySQL? [1]: https://en.wikipedia.org/wiki/Join_(SQL)#...

database Solved
SP
asked 1 month ago by Spencer
0 votes
1 ans
3 views
MyISAM versus InnoDB

I'm working on a projects which involves a lot of database writes, I'd say (*70% inserts and 30% reads*). This ratio would also include updates which I...

database Solved
US
asked 1 month ago by user2013
0 votes
1 ans
3 views
How to truncate a foreign key constrained table?

Why doesn't a **TRUNCATE** on `mygroup` work? Even though I have `ON DELETE CASCADE SET` I get: >ERROR 1701 (42000): Cannot truncate a table referenc...

database Solved
US
asked 1 month ago by user391986
0 votes
1 ans
3 views
How to duplicate a MySQL table, indices, and data?

How do I copy or clone or duplicate the data, structure, and indices of a MySQL table to a new one? This is what I've found so far. This will copy the...

database Solved
XK
asked 1 month ago by xkcd150
0 votes
1 ans
3 views
How can I temporarily disable a foreign key constraint in MySQL?

Is it possible to temporarily disable constraints in MySQL? I have two Django models, each with a foreign key to the other one. Deleting instances of a model...

database Solved
JU
asked 1 month ago by jul
0 votes
1 ans
3 views
MySQL Error 1093 - Can't specify target table for update in FROM clause

I have a table `story_category` in my database with corrupt entries. The next query returns the corrupt entries: SELECT * FROM story_category...

database Solved
SE
asked 1 month ago by Sergio del Amo
0 votes
1 ans
3 views
How can I get the size of a MySQL database?

How can I get the size of a MySQL database? Suppose the target database is called "v3".

database Solved
NE
asked 1 month ago by Newbie
0 votes
1 ans
3 views
NodeJS/mySQL - ER_ACCESS_DENIED_ERROR Access denied for user 'root'@'localhost' (using password: YES)

I am attempting to connect to mySQL through a NodeJS file, but I receive the following error: { Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'r...

database Solved
MW
asked 1 month ago by mwelk11
0 votes
1 ans
3 views
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated

when i got upgraded my ubuntu from 15.10 to 16.04 i have this erro in my yii2 project SQLSTATE[42000]: Syntax error or access violation: 1055 Expres...

database Solved
SA
asked 1 month ago by Saltern
0 votes
1 ans
3 views
Importing large sql file to MySql via command line

I'm trying to import an sql file of around 300MB to MySql via command line in Ubuntu. I used source /var/www/myfile.sql; Right now it's displ...

database Solved
US
asked 1 month ago by user2028856
0 votes
1 ans
3 views
Linker returns "relocation has an invalid symbol at symbol index..."

I am trying out some code on Ubuntu. I'm trying to run the following code <!-- language: lang-c++ --> #include <cstdlib> #includ...

database Solved
SE
asked 1 month ago by seeker
0 votes
1 ans
3 views
How do I find out my root MySQL password?

I just installed MySQL on Ubuntu and the root user can't log in :) How can I recover or find out my password? Using blank for password does not work.

database Solved
GE
asked 1 month ago by Genadinik