β prev | next β
Dexy86 2019-10-03 22:47:57
what nonsence
MasterZiv 2019-10-03 22:48:29
Dexy86 2019-10-03 22:42:33
r u kidding me ????!
You just can’t run something from terminal without running bush.
Dexy86 2019-10-03 22:48:29
ok smarty what is .sh
Dexy86 2019-10-03 22:48:44
hahahahah u can if you run shell
Dexy86 2019-10-03 22:48:47
π
MasterZiv 2019-10-03 22:49:09
Dexy86 2019-10-03 22:47:57
what nonsence
Terminal and bash is same.
Dexy86 2019-10-03 22:49:18
bravo
MasterZiv 2019-10-03 22:49:19
Sell and bash is same
Dexy86 2019-10-03 22:49:26
but bash script isnt
Dexy86 2019-10-03 22:49:34
MasterZiv 2019-10-03 22:49:19
Sell and bash is same
bravo again
Dexy86 2019-10-03 22:49:50
i see u didnt understand my question
MasterZiv 2019-10-03 22:49:56
Dexy86 2019-10-03 22:49:26
but bash script isnt
Bash script is run by bash, from bash
Dexy86 2019-10-03 22:50:02
i have a .sh file and that is bash script
MasterZiv 2019-10-03 22:50:07
Dexy86 2019-10-03 22:49:50
i see u didnt understand my question
Completely
Dexy86 2019-10-03 22:50:17
which you run from bash/shell
Dexy86 2019-10-03 22:50:39
and in that .sh script i have mysql connection with ssl keys
Dexy86 2019-10-03 22:50:45
and it doesnt work
Dexy86 2019-10-03 22:51:08
but if you run it direcktly on console terminal of bash
Dexy86 2019-10-03 22:51:10
it works
Dexy86 2019-10-03 22:52:00
have you ever made bash scripts ?
MasterZiv 2019-10-03 22:52:18
Dexy86 2019-10-03 22:52:00
have you ever made bash scripts ?
A lot
Dexy86 2019-10-03 22:53:51
then why do make fun of someone based on your “knowledge” on technical terms when i see u also dont understand them
MasterZiv 2019-10-03 22:54:32
Dexy86 2019-10-03 22:52:00
have you ever made bash scripts ?
But of you run .sh script it is run in the same environment as usual bash commands, that is the problem
Dexy86 2019-10-03 22:54:47
exactly that is the issue
Dexy86 2019-10-03 22:55:00
why the hell it blows on .sh execution
Dexy86 2019-10-03 22:55:06
weird right?
MasterZiv 2019-10-03 22:55:08
Dexy86 2019-10-03 22:53:51
then why do make fun of someone based on your “knowledge” on technical terms when i see u also dont understand them
I don’t make fun I just don’t understand
MasterZiv 2019-10-03 22:55:30
Dexy86 2019-10-03 22:54:47
exactly that is the issue
Can you post the script?
Dexy86 2019-10-03 22:56:07
MasterZiv 2019-10-03 22:55:08
I don’t make fun I just don’t understand
fair enough… truce π€
Dexy86 2019-10-03 22:56:58
sure as soon as i put my kids in bed
MasterZiv 2019-10-03 23:00:31
Dexy86 2019-10-03 22:55:06
weird right?
Do you need strictly to use SSL, or possibly you can use SSH tunneling?
Dexy86 2019-10-04 15:21:54
piterden 2019-10-03 17:36:54
Try echo $SSL<TAB><TAB>
null nothing
Dexy86 2019-10-04 15:22:38
MasterZiv 2019-10-03 23:00:31
Do you need strictly to use SSL, or possibly you can use SSH tunneling?
yup cause we donβt have any rights for that machine
2019-10-04 17:43:29
How to install MySQL in pc
piterden 2019-10-04 18:24:16
2019-10-04 17:43:29
How to install MySQL in pc
sudo apt install mysql
serverguru 2019-10-04 20:22:18
2019-10-04 17:43:29
How to install MySQL in pc
apt update && apt install mysql -y
piterden 2019-10-05 05:59:32
serverguru 2019-10-04 20:22:18
apt update && apt install mysql -y
This is from a root user
piterden 2019-10-05 06:00:24
Or do you use Kali?
serverguru 2019-10-05 14:10:04
piterden 2019-10-05 05:59:32
This is from a root user
sudo !!
)
kos_tya991 2019-10-06 12:01:09
Mysql 8.0
kos_tya991 2019-10-06 12:01:09
what’s wrong?
kos_tya991 2019-10-06 12:01:09
Cannot add or update a child row: a foreign key constraint fails (university.#sql-5384_1a, CONSTRAINT self_foreignConstraint FOREIGN KEY (ChiefFK) REFERENCES teacher (TchPK) ON DELETE SET NULL)
kos_tya991 2019-10-06 12:01:09
kos_tya991 2019-10-06 12:01:09
ALTER TABLE teacher
ADD CONSTRAINT self_foreignConstraint FOREIGN KEY(ChiefFK) REFERENCES teacher(TchPK) ON DELETE SET NULL;
smlkw 2019-10-06 14:30:17
kos_tya991 2019-10-06 12:01:09
Cannot add or update a child row: a foreign key constraint fails (university.#sql-5384_1a, CONSTRAINT self_foreignConstraint FOREIGN KEY (ChiefFK) REFERENCES teacher (TchPK) ON DELETE SET NULL)
Do you have data in the table?
kos_tya991 2019-10-06 14:34:05
smlkw 2019-10-06 14:30:17
Do you have data in the table?
One row
smlkw 2019-10-06 14:35:38
kos_tya991 2019-10-06 14:34:05
One row
Does it apply to your new schema with this constraint? And types are the same in the two tables?
kos_tya991 2019-10-06 14:46:00
smlkw 2019-10-06 14:35:38
Does it apply to your new schema with this constraint? And types are the same in the two tables?
There is one table teacher. I need to add a foreign key for chiefpk on tchpk. If I delete tchpk, chiefpk will set null. Tchpk is a primary key.
smlkw 2019-10-06 15:02:38
kos_tya991 2019-10-06 14:46:00
There is one table teacher. I need to add a foreign key for chiefpk on tchpk. If I delete tchpk, chiefpk will set null. Tchpk is a primary key.
I mean the types of fields are the same?
kos_tya991 2019-10-06 15:05:54
Both are tinyInt, but the first one is primary key, which can’t be null
β prev | next β