cEdge-01 Posted May 29, 2022 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 05/29/22 Last Seen: June 9, 2022 Share Posted May 29, 2022 Hi, I have an issue following the guide based on Ubuntu in github and when I put this line as directed: 'cat ./sql-files/*.sql | mysql -u rathena -p rathena' I get this error : ERROR 1146 (42S02) at line 431: Table 'rathena.item_db' doesn't exist Can you please assist me with this error message. Quote Link to comment Share on other sites More sharing options...
0 Slammer Posted May 30, 2022 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 218 Reputation: 155 Joined: 11/28/11 Last Seen: 4 hours ago Share Posted May 30, 2022 are you use db sql? if yes import rathena.item_db on sql database Quote Link to comment Share on other sites More sharing options...
0 cEdge-01 Posted May 30, 2022 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 05/29/22 Last Seen: June 9, 2022 Author Share Posted May 30, 2022 10 minutes ago, Slammer said: are you use db sql? if yes import rathena.item_db on sql database I believe it is db sql(just purely following the guide written on the wiki). When you say import is it item_db.sql because I cannot see any rathena.item_db or where this is meant to come from. Do you have an example of how to do so? Quote Link to comment Share on other sites More sharing options...
0 Slammer Posted May 30, 2022 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 218 Reputation: 155 Joined: 11/28/11 Last Seen: 4 hours ago Share Posted May 30, 2022 4 hours ago, cEdge-01 said: I believe it is db sql(just purely following the guide written on the wiki). When you say import is it item_db.sql because I cannot see any rathena.item_db or where this is meant to come from. Do you have an example of how to do so? at folder sql-files just import to database ragnarok. like main.sql and log.sql Quote Link to comment Share on other sites More sharing options...
0 cEdge-01 Posted May 30, 2022 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 05/29/22 Last Seen: June 9, 2022 Author Share Posted May 30, 2022 (edited) I figured it out, Thank you! It turns out they have to be imported in a particular order. This is the proper order that works: cat ./sql-files/item_cash_db.sql | mysql -u rathena -p rathena cat ./sql-files/item_cash_db2.sql | mysql -u rathena -p rathena cat ./sql-files/item_db.sql | mysql -u rathena -p rathena cat ./sql-files/item_db_equip.sql | mysql -u rathena -p rathena cat ./sql-files/item_db_etc.sql | mysql -u rathena -p rathena cat ./sql-files/item_db2.sql | mysql -u rathena -p rathena cat ./sql-files/item_db_re.sql | mysql -u rathena -p rathena cat ./sql-files/item_db_re_equip.sql | mysql -u rathena -p rathena cat ./sql-files/item_db_re_etc.sql | mysql -u rathena -p rathena cat ./sql-files/item_db_re_usable.sql | mysql -u rathena -p rathena cat ./sql-files/item_db_usable.sql | mysql -u rathena -p rathena cat ./sql-files/item_db2_re.sql | mysql -u rathena -p rathena cat ./sql-files/mob_db.sql | mysql -u rathena -p rathena cat ./sql-files/mob_db2.sql | mysql -u rathena -p rathena cat ./sql-files/mob_db_re.sql | mysql -u rathena -p rathena cat ./sql-files/mob_db2_re.sql | mysql -u rathena -p rathena cat ./sql-files/mob_skill_db.sql | mysql -u rathena -p rathena cat ./sql-files/mob_skill_db2.sql | mysql -u rathena -p rathena cat ./sql-files/mob_skill_db_re.sql | mysql -u rathena -p rathena cat ./sql-files/mob_skill_db2_re.sql | mysql -u rathena -p rathena cat ./sql-files/main.sql | mysql -u rathena -p rathena cat ./sql-files/logs.sql | mysql -u rathena -p rathena cat ./sql-files/roulette_default_data.sql | mysql -u rathena -p rathena Instead of 'cat ./sql-files/*.sql | mysql -u rathena -p rathena' Edited May 30, 2022 by cEdge-01 Quote Link to comment Share on other sites More sharing options...
Question
cEdge-01
Hi,
I have an issue following the guide based on Ubuntu in github and when I put this line as directed:
'cat ./sql-files/*.sql | mysql -u rathena -p rathena'
I get this error : ERROR 1146 (42S02) at line 431: Table 'rathena.item_db' doesn't exist
Can you please assist me with this error message.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.