Doesnt connect #21

Closed
opened 2022-08-31 16:17:19 +00:00 by wilderpizza · 6 comments

Any Idea what i did wrong?

command /dbtest:
trigger:
set {sql} to the database "mysql://localhost:3306/skypixel?user=Pizza&password=*******useSSL=false"
execute "select alonsolevels from table" in {sql} and store the result in {_output::
}
send {_output::
}

Any Idea what i did wrong? command /dbtest: trigger: set {sql} to the database "mysql://localhost:3306/skypixel?user=Pizza&password=*********useSSL=false" execute "select alonsolevels from table" in {sql} and store the result in {_output::*} send {_output::*}
Owner

Any errors? and your use of output variable seems wrong, should be
send {_output::table::*}

Any errors? and your use of output variable seems wrong, should be send {_output::table::*}
Author

command /dbtest:
trigger:
set {sql} to the database "mysql://localhost:3306/skypixel?user=Pizza&password=*******useSSL=false"
execute "select * from alonsolevels" in {sql} and store the result in {output::
}
send "First entry in column: %{_output::table::
}%"
send {_output::table::
}

This also doenst work and theres no errors at all

command /dbtest: trigger: set {sql} to the database "mysql://localhost:3306/skypixel?user=Pizza&password=**********useSSL=false" execute "select * from alonsolevels" in {sql} and store the result in {output::*} send "First entry in column: %{_output::table::*}%" send {_output::table::*} This also doenst work and theres no errors at all
Owner

use send last sql error

use `send last sql error`
Author

ik theres no errors if i use it

ik theres no errors if i use it
Author

got it i set the results to {output::} instead of {_output::}

got it i set the results to {output::} instead of {_output::}
Owner

Are you using old version of skript-db by any chance? The problem you're having has been fixed already.

Are you using old version of skript-db by any chance? The problem you're having has been fixed already.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Limework/skript-db#21
No description provided.