sql

posted in Off Topic
View:
Threaded
Linear
Threaded
#1
Foxym
0
Frags
+

setting it up is a pain in the ass

i still havent set it up, frankly i gave up on trying
im just going to use my trusty txt files

#2
Dudhi
0
Frags
+

i found a nice vct dataset

however it is like 30 different tables

and they decided to name NRG mega minors for some tourneys for some reason

SQL is quite fun tho

#3
Foxym
0
Frags
+

my current issue is that i have no acces to sql
im struggling to setup mariaDB and linking it to VSC

#4
Lordsalih
0
Frags
+

whats the problem with linking on vscode, i can maybe help you

#5
Foxym
0
Frags
+

generally when i try to excess mariadb to create a user it throws me the error code 2002

#6
Lordsalih
0
Frags
+

cant connect to local server ?

#7
Foxym
0
Frags
+

yeah
i already looked it up and decided to spare myself the headache and just not use sql (for now)

#9
Lordsalih
0
Frags
+

u on linux or windows ?

#11
Foxym
0
Frags
+

Linux primarily
CachyOs (Arch Infrastructure)

#12
Lordsalih
0
Frags
+

i just looked up on arch wiki, and apparently the database directory isnt initialized on installation, this was on the arch wiki :
Install mariadb or mariadb-lts, and run the following command before starting the mariadb.service:

mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql

#14
Foxym
0
Frags
+

its throwing me this error

chown: changing ownership of '/var/lib/mysql': Operation not permitted
Cannot change ownership of the database directories to the 'mysql'
user.  Check that you have the necessary permissions and try again.

im just gonna use txt files as i know how they work...

#8
AvgRossiFan
1
Frags
+

Why not use a docker container with volume instead of setting it up manually?

#10
Foxym
0
Frags
+

tbh i havent heard about that yet
might give it a try

#13
fungame024
0
Frags
+

the table thing?
i just create the table in db browser sqlite and drag the file to whatever i need

#16
Foxym
0
Frags
+

sqlite seems to be working,
thank you

i even can manage it in python which is much more my forte

#17
fungame024
0
Frags
+

yeah its pretty easy, alg bro

  • Preview
  • Edit
› check that that your post follows the forum rules and guidelines or get formatting help
Sign up or log in to post a comment