Hello,
Homebrew Mysql 8.1 /opt/homebrew/bin/mysql
Homebrew Apache 2.4.52 /opt/homebrew/bin/httpd
Macbook Pro M1 pro chip
Macos Monterey
New setup
Apache, Mysql, PhpMyAdmin all work.
However, I get the following error when trying to create a new app from the Trongate app.
I downloaded the trongate zip file from github.
extracted and renamed, set config files. Created a database.
Everything works as it should.
I tried to add the Members Module.
When I go to modify an existing app I get the error below.
I also get an error TYPEERROR: CONN.DESTRUCT IS NOT A FUNCTION.
I know this type of error has something to do with the database connection.
Where is the file appdata located? Have not been able to find it .
Thanks, Dan
A special welcome to our newest member, KnoldTot.
TYPEERROR: CONN.QUERY IS NOT A FUNCTION
#1
15 Mar 2022, 5:47pm UTC
Tuesday 15th March 2022, at 5:47pm UTC
Status: Unresolved
Edited on Tuesday 15th March 2022, at 5:47pm UTC
#2
15 Mar 2022, 8:38pm UTC
Tuesday 15th March 2022, at 8:38pm UTC
Could this be a port issue? The default db connection port for MySQL is 3306. Not sure if same for MariaDB.
Edited on Tuesday 15th March 2022, at 8:38pm UTC
#3
15 Mar 2022, 8:44pm UTC
Tuesday 15th March 2022, at 8:44pm UTC
Good suggestion.
mysqld 0t0 TCP 127.0.0.1:3306 (LISTEN)
mysqld 0t0 TCP 127.0.0.1:3306 (LISTEN)
Edited on Tuesday 15th March 2022, at 8:44pm UTC
#4
15 Mar 2022, 8:50pm UTC
Tuesday 15th March 2022, at 8:50pm UTC
Ah OK. Are you using the default user 'root' and password 'root'? I recall some installations seem to need a password set to 'root'.
Edited on Tuesday 15th March 2022, at 8:53pm UTC
#5
15 Mar 2022, 9:33pm UTC
Tuesday 15th March 2022, at 9:33pm UTC
Yes root with a set password
I seem to remember something about deleting the app data folder
I seem to remember something about deleting the app data folder
Edited on Tuesday 15th March 2022, at 9:33pm UTC
#6
15 Mar 2022, 9:49pm UTC
Tuesday 15th March 2022, at 9:49pm UTC
OK. I only ever use MAMP, so I guess these kinds of potential issues are handled, leaving me with only a surface level understanding of the system.
Edited on Tuesday 15th March 2022, at 9:49pm UTC
#7
15 Mar 2022, 10:21pm UTC
Tuesday 15th March 2022, at 10:21pm UTC
Hi Dan,
%appdata% is a Windows alias for user folders where Trongate, or more precisely Electron keeps its settings. On the Mac it's different and from memory, open finder, the look for my computer, then users/your name/library/application support/trongate
But I don't think this is your problem.
Hmm you say everything else works? phpMyAdmin? Localhost?
Just the desktop app?
%appdata% is a Windows alias for user folders where Trongate, or more precisely Electron keeps its settings. On the Mac it's different and from memory, open finder, the look for my computer, then users/your name/library/application support/trongate
But I don't think this is your problem.
Hmm you say everything else works? phpMyAdmin? Localhost?
Just the desktop app?
Edited on Tuesday 15th March 2022, at 10:24pm UTC
#8
16 Mar 2022, 12:44am UTC
Wednesday 16th March 2022, at 12:44am UTC
Simon, Yes it all works.
Just the desktop app does not.
Dan
Just the desktop app does not.
Dan
Edited on Wednesday 16th March 2022, at 12:44am UTC
#9
16 Mar 2022, 5:14am UTC
Wednesday 16th March 2022, at 5:14am UTC
OK, if you can wait a bit as just got back home from work. I'll uninstall Xampp from my Macbook Pro and install via Brew as you posted on the forum to see if I can recreate what's happening to you. If I get the same issue, I'll try work it out and report what I find.
In the meantime, could you uninstall MySQL and replace with MariaDB? Just to eliminate you MySQL install as being the issue.
#update> can you let me know how you installed MySQL? I've installed Apache and PHP via Brew
In the meantime, could you uninstall MySQL and replace with MariaDB? Just to eliminate you MySQL install as being the issue.
#update> can you let me know how you installed MySQL? I've installed Apache and PHP via Brew
Edited on Wednesday 16th March 2022, at 8:30am UTC
#10
16 Mar 2022, 10:41am UTC
Wednesday 16th March 2022, at 10:41am UTC
I installed it through homebrew
Edited on Wednesday 16th March 2022, at 10:41am UTC