Scenario:
I have a table in a mariaDB. It’s called “pages”. It just has three columns and a few entries for test purposes.
Problem:
I try to create a nice PREPARE statement in SQL. I did not get it working so I ended up with the following ‘simple’…
Background: A client's site is hosted externally. Only whitelisted IP addresses can ssh to their server. My company recently moved into a shared space with a dynamic IP. I want to access mysql through sequel pro preferably.
I've set up a jump…
I am trying to create a database with Sequel Pro and it keeps coming up with an error "Unable to connect to host because access was denied.
Double-check your username and password and ensure that access from your current location is permitted.
MySQL…
I have created a stored procedure as follow :
create procedure load_data()
BEGIN
DECLARE vcounter INT DEFAULT 0;
while vcounter < 1000 do
if vcounter % 2<>0 then
INSERT INTO EMPDetails ( id, name ) VALUES ( null,…
I am new to Sequel Pro.
I am trying to import a csv file that has longitude and latitude coordinates, but when the "CSV Import Field Mapping" window shows up, DECIMAL/FLOAT/DOUBLE is not one of the datatypes I can choose in the pulldown menu. The…
I am using Sequel Pro on Mac and trying to see my database schemas that Laravel created. In the migrations folder I see a users and password reset tables. I am trying to see them in sequel pro which I do not.
I used homestead and the vagrant box is…
I'm trying to create a view that returns the amount of courses each Californian student is enrolled in. There are 4 CA students listed in my 'Students' table, so it should return that many rows.
create or replace view s2018_courses as
select…
i am a newbie to docker and have bee struggling to connect to the docker container with sequel pro. I downloaded the image docker pull mysql/mysql-server:latest. And executed the command to run a container:
docker run --name mysql-server -v…
I have a table with a primary key lbxProgID.
The FK is lbxClientID that references a clients table.
zoom in of fields in question:
Currently when I want to add an entry to this table, I need to know the actual integer ID of the client so I can add…
I have installed a craft cms project with craftman which uses docker. Now I am trying to connect to the DB with sequel pro, but I can't. I have run the craftman ip command to get the ip of the docker container, which in my case was 172.17.0.2 and…
I am using MAMP Pro and I am having an issue where I cannot find existing databases on Sequel Pro, nor can I create new databases. However, on phpmyadmin, I can see and edit the existing databases and create new ones without any issue. I believe the…
There are times that when you are importing a mySQL dump, it would break due to syntax, etc. Currently working on a very large database, running:
mysql -u root -p database < import.sql
will only verbose
ERROR 1064 (42000) at line 116238: You have…
In SQL I am trying to extract the first and the second date from a table. I am using the query below which I formulated based on a number of posts I read on here about the same topic i.e. extracting the second date etc. But for some reason it does…
Trying to create a simple relation between two fields in two tables - 'Task' table with the field 'USER_TOKEN' and the 'USER' table with the field 'TOKEN'. The two fields are the same structure. As you can see the error and other things that may…