LMSouq

Knowledge Base

Browse Moodle Solutions

Clear

2109 solutions found in plugin-api

Page 27 of 106
0 votes
1 ans
8 views
Docker-compose check if mysql connection is ready

I am trying to make sure that my app container does not run migrations / start until the db container is started and READY TO accept connections. So I decide...

server-admin Solved
JO
asked 3 months ago by John Kariuki
0 votes
1 ans
8 views
MySQL Delete all rows from table and reset ID to zero

I need to delete all rows from a table but when I add a new row, I want the primary key ID, which has an auto increment, to start again from 0 respectively from...

database Solved
MA
asked 3 months ago by marek_lani
0 votes
1 ans
8 views
Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '='

Error message on MySql: Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=' I have gone thro...

general-dev Solved
MA
asked 3 months ago by Manatax
0 votes
1 ans
7 views
How to add not null constraint to existing column in MySQL

I have table name called "Person" with following column names P_Id(int), LastName(varchar), FirstName (varchar). I forgot to give...

database Solved
MY
asked 3 months ago by mymotherland
0 votes
1 ans
7 views
Is there a way to only install the mysql client (Linux)?

Are there are any Linux mysql command line tools that don't require the entire mysql db installation package to be installed? What I'm trying to do...

server-admin Solved
EM
asked 3 months ago by emilebaizel
0 votes
2 ans
8 views
Find nearest latitude/longitude with an SQL query

I have latitude and longitude and I want to pull the record from the database, which has nearest latitude and longitude by the distance, if that distance gets l...

database Solved
BA
asked 3 months ago by Basit
0 votes
1 ans
8 views
MySQL OR vs IN performance

I am wondering if there is any difference with regards to performance between the following SELECT ... FROM ... WHERE someFIELD IN(1,2,3,4) SE...

database Solved
SC
asked 3 months ago by Scott
0 votes
1 ans
8 views
Equivalent of varchar(max) in MySQL?

What is the equivalent of varchar(max) in MySQL?

database Solved
DA
asked 3 months ago by David Basarab
0 votes
1 ans
7 views
Is there a REAL performance difference between INT and VARCHAR primary keys?

Is there a measurable performance difference between using INT vs. VARCHAR as a primary key in MySQL? I'd like to use VARCHAR as the primary key for referen...

database Solved
JA
asked 3 months ago by Jake McGraw
0 votes
1 ans
7 views
MySQL root password change

I have been trying to reset my MySQL root password. I have run `mysqld_safe --skip-grant-tables`, updated the root password, and checked the user table to make...

database Solved
NI
asked 3 months ago by nick
0 votes
1 ans
8 views
Access denied for user 'root@localhost' (using password:NO)

I'm trying to run WordPress in my Windows desktop and it needs MySQL. I install everything with `Web Platform Installer` which is provided by Microsoft....

general-dev Solved
NA
asked 3 months ago by Nasser Hadjloo
0 votes
1 ans
7 views
Maximum number of records in a MySQL database table

What is the upper limit of records for MySQL database table. I'm wondering about autoincrement field. What would happen if I add milions of records? How to...

database Solved
XP
asked 3 months ago by xpepermint
0 votes
1 ans
7 views
MySQL procedure vs function, which would I use when?

I'm looking at MySQL procedures and functions. What is the real difference? They seem to be similar, but a function has more limitations. I'm lik...

database Solved
AN
asked 3 months ago by Anonym
0 votes
1 ans
7 views
DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled

While importing the database in mysql, I have got following error: > 1418 (HY000) at line 10185: This function has none of DETERMINISTIC, NO SQL, or READS...

database Solved
AS
asked 3 months ago by ASR
0 votes
1 ans
7 views
How to store arrays in MySQL?

I have two tables in MySQL. Table Person has the following columns: id | name | fruits ---|------|------- The `fruits` column may hold null or an array o...

database Solved
TO
asked 3 months ago by tonga
0 votes
1 ans
8 views
MySQLDump one INSERT statement for each data row

with the following statement: mysqldump --complete-insert --lock-all-tables --no-create-db --no-create-info --extended-insert --password=XXX -u...

database Solved
RE
asked 3 months ago by rexford
0 votes
1 ans
7 views
Mysql command not found in OS X 10.7

I cant get my mysql to start on os x 10.7. It is located in `/usr/local/mysql/bin/mysql` I get command not found when I type `mysql --version` in the termi...

database Solved
SI
asked 3 months ago by SilverNightaFall
0 votes
1 ans
7 views
What resources exist for Database performance-tuning?

What good resources exist for understanding database tuning on the major engines and advancing your knowledge in that area? The idea of this question is to c...

database Solved
GA
asked 3 months ago by Gavin Miller
0 votes
1 ans
8 views
1030 Got error 28 from storage engine

I am working on a project where i need to create a database with 300 tables for each user who wants to see the demo application. it was working fine but today w...

general-dev Solved
SC
asked 3 months ago by ScoRpion
0 votes
2 ans
8 views
Set NOW() as Default Value for datetime datatype?

I have two columns in table users namely `registerDate and lastVisitDate` which consist of datetime data type. I would like to do the following. 1. Set regi...

general-dev Solved
IB
asked 3 months ago by Ibrahim Azhar Armar