I am trying to add a new column by using the following query:
UPDATE t1
INNER JOIN
(SELECT
t1.CID as t1_id,
t2.id as t2_id
FROM t3
INNER JOIN t1 ON t3.CID = t1.CID
INNER JOIN t4 ON t4.MID = t3.MID
INNER JOIN t2 ON…
I am moving a website from shared hosting to a VPS but I am unable to import the database correctly as I am getting a 500 error on my website. I will list the steps I have taken below, please could you check that I am not missing anything,…
I am in the middle of transferring my website over to a Digital Ocean VPS from a Heart Internet reseller account but I am stuck on trying to get my old database to link to the new wordpress install. At the moment I am stuck on the following…
I have been checking out a lot of answers here and on GitHub regarding this issue, but whatever I try there is always something wrong. I also don´t get why with the same credentials sometimes I am able to connect other times I am not even able to do…
I'm building a Laravel project and I've been trying for the past week to connect to MYSQL through Sequel Pro. I've tried tens of different combinations of host, username and password, to no avail.
I have tried using localhost instead of 127.0.0.1…
I have a function that works inside my script but when I try to run it on my Sequel Pro MariaDB to add it to the function list, I get a bunch of errors.
drop function if exists related_count;
create function related_count(parent int(11)) returns…
I'm a rather newbie when it comes to SQL queries and not sure how to approach this:
I have a CSV file that contains 5 columns, 2 of those columns are Value1 and Value2, I need to run over an existing sql table (for this question's purposes I'll call…
the above problem has few solutions here but I couldn't get any of them working so asking.
I have installed mamp and also sequel pro. I am trying to connect using sequel pro but I am getting this error. The whole error is
Unable to connect to host…
I am launching this query using Sequel Pro:
select MAX (price) from t_hotel_price group by hotel_id
but I got this error
FUNCTION hotels.MAX does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual
I've just created a AWS Aurora MySQL with this end point:
tdk.cwob1oxhu1so.eu-central-1.rds.amazonaws.com
DB instance: tdk
which I want to connect from a Sequel Pro client
So I put tdk.cwob1oxhu1so.eu-central-1.rds.amazonaws.com in the Host, the…
Can anyone help me understand why when I run the following:
DELIMITER //
CREATE FUNCTION dbo.Profit (P_ProductID int, P_VendorID int, P_SellPrice decimal (12,4))
RETURNS decimal (12,4)
DETERMINISTIC
BEGIN
DECLARE p_profit decimal (12,4)
SET…
I'm pulling my hair out.
I have a csv full of customer data, and am getting a number of errors when trying to import it into MySQL using Sequel Pro's Import function.
==========
I'm importing with all the default options, encoding as latin1.
The…
I am trying to run the below query (in Sequel Pro), but I am getting the following syntax error:
'You have an error in your SQL syntax; check the manual that corresponds to
your MySQL server version for the right syntax to use near 'IF
…
I am trying to export a query result into CSV via Sequel Pro and I want to retain its newline values.
I tried escaping using REPLACE() and I also tried using other terminators such as ;.
My content looks like this
The word "adore" means to love…
When I put in mysql.server stop, I receive:
ERROR! MySQL server PID file could not be found!
I had this happen this morning, so I uninstalled SQL and deleted homebrew.
And then, I reinstalled brew and reinstalled SQL. And it happened again.
I just…