Which means MySQL router API cannot be used by developers for calling db while developing code?

|
jurgen_dd 2021-02-01 22:04:50
Makgato 2021-02-01 20:19:27
Guys it is possible to Save this table and use in other laptop without mySQL software ?

Only if you export it as flat file, like csv….

Makgato 2021-02-02 12:15:44
jurgen_dd 2021-02-01 22:04:50
Only if you export it as flat file, like csv….

Thank u so much

2021-02-02 13:59:38
mysql_en-7879.jpg
hi guys, i want to learn to create a database where i can do everything in these topics. Most of the time when learning the topic, the example given was different for each topic. i find it hard to learn to create a complete fungsional database like that. can you guys give me database example (or link for such problem) where i can perform all those topics ?
piterden 2021-02-02 16:21:04
2021-02-02 13:59:38
hi guys, i want to learn to create a database where i can do everything in these topics. Most of the time when learning the topic, the example given was different for each topic. i find it hard to learn to create a complete fungsional database like that. can you guys give me database example (or link for such problem) where i can perform all those topics ?

What format of example do you need?

2021-02-02 20:20:34
anything.
Deb_575 2021-02-03 13:07:24
Is there any option in percona xtrabackup to estimate the backup size
Only estimate??
piterden 2021-02-03 13:29:09
Deb_575 2021-02-03 13:07:24
Is there any option in percona xtrabackup to estimate the backup size
Only estimate??

I suppose you can only define a chunk size

piterden 2021-02-03 13:29:46
If we talk about the utility options
Deb_575 2021-02-03 13:42:32
Actually I have a database of 1.6tb and I need to restore it to a remote server
And for that I need space estimates.
Considering the size of the backup file would be less than the actual db size then I would request for 1.6tb + backup size amount of space on the remote server
e 2021-02-04 11:21:38
Hello, I did an update on ubuntu server and mysql was updated from v8.0.22 to v8.0.23.
Mysql cannot start with files missing(mysql.pid is not created.
Any help on how to recreate it.
Baron 2021-02-04 11:52:23
e 2021-02-04 11:21:38
Hello, I did an update on ubuntu server and mysql was updated from v8.0.22 to v8.0.23.
Mysql cannot start with files missing(mysql.pid is not created.
Any help on how to recreate it.

you need create directory /var/run/mysqld and chown mysql.mysql /var/run/mysqld

e 2021-02-04 11:54:01
Baron 2021-02-04 11:52:23
you need create directory /var/run/mysqld and chown mysql.mysql /var/run/mysqld

I did that and it created the sock files but it never created the pid file.

Baron 2021-02-04 12:20:45
e 2021-02-04 11:54:01
I did that and it created the sock files but it never created the pid file.

show me the log error

e 2021-02-04 13:38:24
Baron 2021-02-04 12:20:45
show me the log error

mysql_en-7915.jpg

e 2021-02-04 13:39:04
e 2021-02-04 13:38:24

mysql_en-7916.jpg

e 2021-02-04 13:41:59
mysql_en-7918.jpg

e 2021-02-04 13:42:12
e 2021-02-04 13:41:59

I have this on the log files

e 2021-02-04 13:53:48
e 2021-02-04 13:42:12
I have this on the log files

SOLVED! Not sure what I did but its working now

Raj Kumar 2021-02-05 21:59:36
Do we have RESTful API interface in MySQL? Any suggestions?
piterden 2021-02-05 22:38:23
Raj Kumar 2021-02-05 21:59:36
Do we have RESTful API interface in MySQL? Any suggestions?

How do you imagine RESTful DDL operations?

AliAnnajafi 2021-02-05 22:40:25
Hi there,

I have a table contains items, some of these items advertised, so i make another table (ads) which contains ids of advertised items, what I would like to get is to pagnation items, first show advertised items, when all advertised items get other items,

is there any SQL stament to do that?

MasterZiv 2021-02-06 01:12:35
Raj Kumar 2021-02-05 21:59:36
Do we have RESTful API interface in MySQL? Any suggestions?

No. It is a DBMS

MasterZiv 2021-02-06 01:17:30
AliAnnajafi 2021-02-05 22:40:25
Hi there,

I have a table contains items, some of these items advertised, so i make another table (ads) which contains ids of advertised items, what I would like to get is to pagnation items, first show advertised items, when all advertised items get other items,

is there any SQL stament to do that?

Pagination is a task of the client of the DB.

And is an anti pattern for DB.
Use search criteria and filter data, create smart queries.

Raj Kumar 2021-02-06 05:02:27
MySQL :: MySQL Router 8.0 :: 6.1 A Simple MySQL Router REST API Guide
https://dev.mysql.com/doc/mysql-router/8.0/en/mysql-router-rest-api-setup.html
Raj Kumar 2021-02-06 05:03:44
piterden 2021-02-05 22:38:23
How do you imagine RESTful DDL operations?

Yes. I want my developers to use the RestAPI for making calls to databases through a web interface

Raj Kumar 2021-02-06 05:04:57
MasterZiv 2021-02-06 01:12:35
No. It is a DBMS

Yep. Wanted to understand if MySql has inbuilt RestAPI ntetface or 3rd party RestAPI interface

Raj Kumar 2021-02-06 05:05:56
Raj Kumar 2021-02-06 05:02:27
MySQL :: MySQL Router 8.0 :: 6.1 A Simple MySQL Router REST API Guide
https://dev.mysql.com/doc/mysql-router/8.0/en/mysql-router-rest-api-setup.html

Can someone please let me know if this page has the same ask that I have?

ColonelMustang 2021-02-06 08:03:09
Raj Kumar 2021-02-06 05:05:56
Can someone please let me know if this page has the same ask that I have?

Mysql router is different than mysql db

Raj Kumar 2021-02-06 08:07:35
ColonelMustang 2021-02-06 08:03:09
Mysql router is different than mysql db

Thanks for answering. Which means MySQL router API cannot be used by developers for calling db while developing code? No built in RestAPI available for db in MySQL. Is that right..

ColonelMustang 2021-02-06 08:13:34
Yes
AliAnnajafi 2021-02-06 08:20:55
MasterZiv 2021-02-06 01:17:30
Pagination is a task of the client of the DB.

And is an anti pattern for DB.
Use search criteria and filter data, create smart queries.

I meant how can I use (limit, offset) to get first advertised items, after that get other items.
for example, if I have 20 items in my items tables, 11 of them are advertised, when client first request, the server retrieve 10 items who are advertised.
after that retrieve the last advertised items and then the other 9 items.

I need that by writing an sql query with (limit, offset)

MasterZiv 2021-02-06 08:45:26
Raj Kumar 2021-02-06 05:04:57
Yep. Wanted to understand if MySql has inbuilt RestAPI ntetface or 3rd party RestAPI interface

MySQL doesn’t have any http interfaces, it uses other protocols.

MasterZiv 2021-02-06 08:47:48
AliAnnajafi 2021-02-06 08:20:55
I meant how can I use (limit, offset) to get first advertised items, after that get other items.
for example, if I have 20 items in my items tables, 11 of them are advertised, when client first request, the server retrieve 10 items who are advertised.
after that retrieve the last advertised items and then the other 9 items.

I need that by writing an sql query with (limit, offset)

It is an antipattern for a relational DBMS, don’t do things like this

AliAnnajafi 2021-02-06 08:49:03
MasterZiv 2021-02-06 08:47:48
It is an antipattern for a relational DBMS, don’t do things like this

So how can I structuring my DB to do what I explained

MasterZiv 2021-02-06 08:52:59
AliAnnajafi 2021-02-06 08:49:03
So how can I structuring my DB to do what I explained

You should not do this at all.
Learn SQL, write queries, that is all you need

|